	.file	"extr_interface.c_print_channel_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"channel#%d"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.globl	print_channel_name
	.type	print_channel_name, @function
print_channel_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	tgl_get_peer_type@PLT
	xor	edi, edi
	cmp	QWORD PTR TGL_PEER_CHANNEL[rip], rax
	sete	dil
	call	assert@PLT
	mov	esi, DWORD PTR COLOR_CYAN[rip]
	mov	rdi, rbp
	call	mpush_color@PLT
	cmp	QWORD PTR permanent_peer_id_mode[rip], 0
	jne	.L11
	test	rbx, rbx
	je	.L3
	cmp	QWORD PTR use_ids[rip], 0
	je	.L4
.L3:
	mov	edi, r12d
	call	tgl_get_peer_id@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	mprintf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mpop_color@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	mprintf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mpop_color@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, r12d
	call	print_peer_permanent_name@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mpop_color@PLT
	.cfi_endproc
.LFE0:
	.size	print_channel_name, .-print_channel_name
	.comm	use_ids,8,8
	.comm	permanent_peer_id_mode,8,8
	.comm	TGL_PEER_CHANNEL,8,8
	.comm	COLOR_CYAN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_interface.c_print_channel_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"channel#%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.global	print_channel_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_channel_name, %function
print_channel_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	mov	r6, r2
	bl	tgl_get_peer_type
	ldr	r3, .L12
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, .L12+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	mpush_color
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	cmp	r6, #0
	beq	.L3
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
.L3:
	mov	r0, r5
	bl	tgl_get_peer_id
	ldr	r1, .L12+16
	mov	r2, r0
	mov	r0, r4
	bl	mprintf
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mpop_color
.L4:
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, .L12+20
	bl	mprintf
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mpop_color
.L11:
	mov	r1, r5
	mov	r0, r4
	bl	print_peer_permanent_name
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mpop_color
.L13:
	.align	2
.L12:
	.word	TGL_PEER_CHANNEL
	.word	COLOR_CYAN
	.word	permanent_peer_id_mode
	.word	use_ids
	.word	.LC0
	.word	.LC1
	.size	print_channel_name, .-print_channel_name
	.comm	use_ids,4,4
	.comm	permanent_peer_id_mode,4,4
	.comm	TGL_PEER_CHANNEL,4,4
	.comm	COLOR_CYAN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
