	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1273_fm_tx_set_spacing
_wl1273_fm_tx_set_spacing:              ## @wl1273_fm_tx_set_spacing
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	leal	-50000(%rsi), %eax
	cmpl	$24999, %eax                    ## imm = 0x61A7
	ja	LBB0_4
## %bb.3:
	movq	_WL1273_SCAN_SPACING_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL1273_SPACING_50kHz@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*(%rdi)
	movl	$50, %ecx
	jmp	LBB0_7
LBB0_1:
	movq	_WL1273_SCAN_SPACING_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL1273_SPACING_100kHz@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*(%rdi)
	movl	$100, %ecx
	jmp	LBB0_7
LBB0_4:
	addl	$-100000, %esi                  ## imm = 0xFFFE7960
	movq	(%rdi), %rcx
	movq	_WL1273_SCAN_SPACING_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$49999, %esi                    ## imm = 0xC34F
	ja	LBB0_6
## %bb.5:
	movq	_WL1273_SPACING_100kHz@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %esi
	callq	*%rcx
	movl	$100, %ecx
	jmp	LBB0_7
LBB0_6:
	movq	_WL1273_SPACING_200kHz@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %esi
	callq	*%rcx
	movl	$200, %ecx
LBB0_7:
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL1273_SCAN_SPACING_SET,4,2    ## @WL1273_SCAN_SPACING_SET
	.comm	_WL1273_SPACING_100kHz,4,2      ## @WL1273_SPACING_100kHz
	.comm	_WL1273_SPACING_50kHz,4,2       ## @WL1273_SPACING_50kHz
	.comm	_WL1273_SPACING_200kHz,4,2      ## @WL1273_SPACING_200kHz
	.no_dead_strip	_wl1273_fm_tx_set_spacing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1273_fm_tx_set_spacing
_wl1273_fm_tx_set_spacing:              ; @wl1273_fm_tx_set_spacing
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	w1, LBB0_3
; %bb.1:
	mov	w8, #-50000
	add	w8, w1, w8
	lsr	w8, w8, #3
	cmp	w8, #3124
	b.hi	LBB0_4
; %bb.2:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WL1273_SCAN_SPACING_SET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WL1273_SCAN_SPACING_SET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _WL1273_SPACING_50kHz@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WL1273_SPACING_50kHz@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	blr	x8
	mov	w8, #50
	b	LBB0_7
LBB0_3:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _WL1273_SCAN_SPACING_SET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WL1273_SCAN_SPACING_SET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	b	LBB0_5
LBB0_4:
	sub	w8, w1, #24, lsl #12            ; =98304
	sub	w9, w8, #1696
	ldr	x8, [x0]
Lloh9:
	adrp	x10, _WL1273_SCAN_SPACING_SET@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WL1273_SCAN_SPACING_SET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x10]
	lsr	w9, w9, #4
	cmp	w9, #3124
	b.hi	LBB0_6
LBB0_5:
Lloh12:
	adrp	x9, _WL1273_SPACING_100kHz@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WL1273_SPACING_100kHz@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x9]
	blr	x8
	mov	w8, #100
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x9, _WL1273_SPACING_200kHz@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WL1273_SPACING_200kHz@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x9]
	blr	x8
	mov	w8, #200
LBB0_7:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WL1273_SCAN_SPACING_SET,4,2    ; @WL1273_SCAN_SPACING_SET
	.comm	_WL1273_SPACING_100kHz,4,2      ; @WL1273_SPACING_100kHz
	.comm	_WL1273_SPACING_50kHz,4,2       ; @WL1273_SPACING_50kHz
	.comm	_WL1273_SPACING_200kHz,4,2      ; @WL1273_SPACING_200kHz
	.no_dead_strip	_wl1273_fm_tx_set_spacing
.subsections_via_symbols
