	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3560_mode_ctrl
_lm3560_mode_ctrl:                      ## @lm3560_mode_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.lm3560_mode_ctrl(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	4(%rdi), %edi
	movq	_REG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %ecx
	movl	$3, %edx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_REG_ENABLE,4,2                 ## @REG_ENABLE
	.comm	_MODE_SHDN,4,2                  ## @MODE_SHDN
	.comm	_MODE_TORCH,4,2                 ## @MODE_TORCH
	.comm	_MODE_FLASH,4,2                 ## @MODE_FLASH
	.no_dead_strip	_lm3560_mode_ctrl
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.lm3560_mode_ctrl
l_switch.table.lm3560_mode_ctrl:
	.quad	_MODE_TORCH
	.quad	_MODE_SHDN
	.quad	_MODE_FLASH

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3560_mode_ctrl
_lm3560_mode_ctrl:                      ; @lm3560_mode_ctrl
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.lm3560_mode_ctrl@PAGE
Lloh1:
	add	x9, x9, l_switch.table.lm3560_mode_ctrl@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x0, #4]
Lloh2:
	adrp	x9, _REG_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	ldr	w3, [x8]
	mov	w2, #3
	b	_regmap_update_bits
LBB0_2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_REG_ENABLE,4,2                 ; @REG_ENABLE
	.comm	_MODE_SHDN,4,2                  ; @MODE_SHDN
	.comm	_MODE_TORCH,4,2                 ; @MODE_TORCH
	.comm	_MODE_FLASH,4,2                 ; @MODE_FLASH
	.no_dead_strip	_lm3560_mode_ctrl
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.lm3560_mode_ctrl
l_switch.table.lm3560_mode_ctrl:
	.quad	_MODE_TORCH
	.quad	_MODE_SHDN
	.quad	_MODE_FLASH

.subsections_via_symbols
