	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max2165_set_bandwidth
_max2165_set_bandwidth:                 ## @max2165_set_bandwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$8000000, %esi                  ## imm = 0x7A1200
	setne	%al
	movl	(%rdi,%rax,4), %ecx
	movq	_REG_BASEBAND_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$4, %ecx
	movl	$240, %edx
	callq	_max2165_mask_write_reg
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_BASEBAND_CTRL,4,2          ## @REG_BASEBAND_CTRL
	.no_dead_strip	_max2165_set_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max2165_set_bandwidth
_max2165_set_bandwidth:                 ; @max2165_set_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #1953, lsl #12          ; =7999488
	cmp	w8, #512
	cset	w8, ne
	ldr	w8, [x0, w8, uxtw #2]
Lloh0:
	adrp	x9, _REG_BASEBAND_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_BASEBAND_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	lsl	w3, w8, #4
	mov	w2, #240
	bl	_max2165_mask_write_reg
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_BASEBAND_CTRL,4,2          ; @REG_BASEBAND_CTRL
	.no_dead_strip	_max2165_set_bandwidth
.subsections_via_symbols
