	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3533_set_boost_freq
_lm3533_set_boost_freq:                 ## @lm3533_set_boost_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %edx
	movq	%rdi, %r14
	movq	_LM3533_BOOST_FREQ_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_LM3533_REG_BOOST_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LM3533_BOOST_FREQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_lm3533_update
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM3533_REG_BOOST_PWM,4,2       ## @LM3533_REG_BOOST_PWM
	.comm	_LM3533_BOOST_FREQ_SHIFT,4,2    ## @LM3533_BOOST_FREQ_SHIFT
	.comm	_LM3533_BOOST_FREQ_MASK,4,2     ## @LM3533_BOOST_FREQ_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set boost frequency\n"

	.no_dead_strip	_lm3533_set_boost_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3533_set_boost_freq
_lm3533_set_boost_freq:                 ; @lm3533_set_boost_freq
	.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
Lloh0:
	adrp	x8, _LM3533_REG_BOOST_PWM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LM3533_REG_BOOST_PWM@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LM3533_BOOST_FREQ_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LM3533_BOOST_FREQ_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	lsl	w2, w1, w9
Lloh6:
	adrp	x9, _LM3533_BOOST_FREQ_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LM3533_BOOST_FREQ_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	mov	x1, x8
	bl	_lm3533_update
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LM3533_REG_BOOST_PWM,4,2       ; @LM3533_REG_BOOST_PWM
	.comm	_LM3533_BOOST_FREQ_SHIFT,4,2    ; @LM3533_BOOST_FREQ_SHIFT
	.comm	_LM3533_BOOST_FREQ_MASK,4,2     ; @LM3533_BOOST_FREQ_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set boost frequency\n"

	.no_dead_strip	_lm3533_set_boost_freq
.subsections_via_symbols
