	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adp1653_strobe
_adp1653_strobe:                        ## @adp1653_strobe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	addq	$24, %rdi
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_ADP1653_INDICATOR_INTENSITY_uA_TO_REG
	movl	%eax, %r15d
	movq	_ADP1653_REG_OUT_SEL_ILED_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_V4L2_FLASH_LED_MODE_FLASH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_ADP1653_FLASH_INTENSITY_mA_TO_REG
	movq	_ADP1653_REG_OUT_SEL_HPLED_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %r15d
	movq	_ADP1653_REG_OUT_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_2
## %bb.6:
	movq	_ADP1653_REG_SW_STROBE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ADP1653_REG_SW_STROBE_SW_STROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_2
## %bb.7:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ADP1653_REG_OUT_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADP1653_REG_OUT_SEL_ILED_SHIFT,4,2 ## @ADP1653_REG_OUT_SEL_ILED_SHIFT
	.comm	_V4L2_FLASH_LED_MODE_FLASH,8,3  ## @V4L2_FLASH_LED_MODE_FLASH
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ADP1653_REG_OUT_SEL,4,2        ## @ADP1653_REG_OUT_SEL
	.comm	_ADP1653_REG_OUT_SEL_HPLED_SHIFT,4,2 ## @ADP1653_REG_OUT_SEL_HPLED_SHIFT
	.comm	_ADP1653_REG_SW_STROBE,4,2      ## @ADP1653_REG_SW_STROBE
	.comm	_ADP1653_REG_SW_STROBE_SW_STROBE,4,2 ## @ADP1653_REG_SW_STROBE_SW_STROBE
	.no_dead_strip	_adp1653_strobe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adp1653_strobe
_adp1653_strobe:                        ; @adp1653_strobe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	add	x0, x0, #24
	bl	_v4l2_get_subdevdata
	mov	x19, x0
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_ADP1653_INDICATOR_INTENSITY_uA_TO_REG
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _V4L2_FLASH_LED_MODE_FLASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_FLASH_LED_MODE_FLASH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _ADP1653_REG_OUT_SEL_ILED_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADP1653_REG_OUT_SEL_ILED_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w22, w0, w8
	cbz	w21, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_ADP1653_FLASH_INTENSITY_mA_TO_REG
Lloh6:
	adrp	x8, _ADP1653_REG_OUT_SEL_HPLED_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADP1653_REG_OUT_SEL_HPLED_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	orr	w2, w8, w22
Lloh9:
	adrp	x8, _ADP1653_REG_OUT_SEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADP1653_REG_OUT_SEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_6
; %bb.3:
Lloh12:
	adrp	x20, _ADP1653_REG_SW_STROBE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _ADP1653_REG_SW_STROBE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _ADP1653_REG_SW_STROBE_SW_STROBE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ADP1653_REG_SW_STROBE_SW_STROBE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	b	LBB0_8
LBB0_5:
Lloh17:
	adrp	x8, _EBUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh20:
	adrp	x8, _ADP1653_REG_OUT_SEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ADP1653_REG_OUT_SEL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ADP1653_REG_OUT_SEL_ILED_SHIFT,4,2 ; @ADP1653_REG_OUT_SEL_ILED_SHIFT
	.comm	_V4L2_FLASH_LED_MODE_FLASH,8,3  ; @V4L2_FLASH_LED_MODE_FLASH
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ADP1653_REG_OUT_SEL,4,2        ; @ADP1653_REG_OUT_SEL
	.comm	_ADP1653_REG_OUT_SEL_HPLED_SHIFT,4,2 ; @ADP1653_REG_OUT_SEL_HPLED_SHIFT
	.comm	_ADP1653_REG_SW_STROBE,4,2      ; @ADP1653_REG_SW_STROBE
	.comm	_ADP1653_REG_SW_STROBE_SW_STROBE,4,2 ; @ADP1653_REG_SW_STROBE_SW_STROBE
	.no_dead_strip	_adp1653_strobe
.subsections_via_symbols
