	.file	"extr_wbusb.c_hal_set_current_channel_ex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Going to channel: %d/%d\n"
	.text
	.p2align 4
	.type	hal_set_current_channel_ex, @function
hal_set_current_channel_ex:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 8[rdi], 0
	mov	QWORD PTR 8[rsp], rsi
	jne	.L1
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR 8[rsp]
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	call	printk@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	RFSynthesizer_SwitchingChannel@PLT
	mov	edx, DWORD PTR 8[rsp]
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, rbp
	lea	rcx, 8[rsp]
	mov	r8d, 8
	mov	esi, 2088
	mov	DWORD PTR 4[rbp], edx
	mov	edx, DWORD PTR 16[rbp]
	mov	DWORD PTR 0[rbp], eax
	xor	dl, dl
	or	edx, eax
	mov	DWORD PTR 16[rbp], edx
	call	Wb35Reg_WriteWithCallbackValue@PLT
.L1:
	add	rsp, 16
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hal_set_current_channel_ex, .-hal_set_current_channel_ex
	.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_wbusb.c_hal_set_current_channel_ex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Going to channel: %d/%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hal_set_current_channel_ex, %function
hal_set_current_channel_ex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #8]
	sub	sp, sp, #20
	add	r5, sp, #8
	cmp	r3, #0
	stm	r5, {r1, r2}
	bne	.L1
	mov	r4, r0
	ldr	r2, [sp, #12]
	ldr	r0, .L5
	bl	printk
	ldm	r5, {r1, r2}
	mov	r0, r4
	bl	RFSynthesizer_SwitchingChannel
	mov	ip, #8
	ldr	r2, [r4, #12]
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #8]
	bic	r2, r2, #255
	orr	r2, r2, r1
	str	r1, [r4]
	str	r2, [r4, #12]
	mov	r3, r5
	str	ip, [sp]
	ldr	r1, .L5+4
	str	r0, [r4, #4]
	mov	r0, r4
	bl	Wb35Reg_WriteWithCallbackValue
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	2088
	.size	hal_set_current_channel_ex, .-hal_set_current_channel_ex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
