	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ktd2692_led_flash_strobe_set
_ktd2692_led_flash_strobe_set:          ## @ktd2692_led_flash_strobe_set
	.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, %r14
	callq	_fled_cdev_to_led
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	callq	_GET_TIMEOUT_OFFSET
	movq	_KTD2692_REG_FLASH_TIMEOUT_BASE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ktd2692_expresswire_write
	movq	_KTD2692_MODE_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_KTD2692_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_KTD2692_MODE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_KTD2692_LOW@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	%eax, (%rbx)
	movl	8(%rbx), %edi
	movl	(%rcx), %esi
	callq	_gpiod_direction_output
	movq	_KTD2692_REG_MODE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ktd2692_expresswire_write
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_KTD2692_MODE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTD2692_REG_FLASH_TIMEOUT_BASE,4,2 ## @KTD2692_REG_FLASH_TIMEOUT_BASE
	.comm	_KTD2692_MODE_FLASH,4,2         ## @KTD2692_MODE_FLASH
	.comm	_KTD2692_HIGH,4,2               ## @KTD2692_HIGH
	.comm	_KTD2692_MODE_DISABLE,8,3       ## @KTD2692_MODE_DISABLE
	.comm	_KTD2692_LOW,4,2                ## @KTD2692_LOW
	.comm	_KTD2692_REG_MODE_BASE,4,2      ## @KTD2692_REG_MODE_BASE
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_ktd2692_led_flash_strobe_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ktd2692_led_flash_strobe_set
_ktd2692_led_flash_strobe_set:          ; @ktd2692_led_flash_strobe_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_fled_cdev_to_led
	mov	x20, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_mutex_lock
Lloh0:
	adrp	x23, _KTD2692_MODE_DISABLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _KTD2692_MODE_DISABLE@GOTPAGEOFF]
	cbz	w22, LBB0_2
; %bb.1:
	ldp	w1, w0, [x19, #4]
	bl	_GET_TIMEOUT_OFFSET
Lloh2:
	adrp	x8, _KTD2692_REG_FLASH_TIMEOUT_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KTD2692_REG_FLASH_TIMEOUT_BASE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_ktd2692_expresswire_write
Lloh5:
	adrp	x8, _KTD2692_MODE_FLASH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KTD2692_MODE_FLASH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _KTD2692_HIGH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _KTD2692_HIGH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x23]
Lloh10:
	adrp	x9, _KTD2692_LOW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _KTD2692_LOW@GOTPAGEOFF]
LBB0_3:
	str	w8, [x20]
	ldr	w0, [x20, #8]
	ldr	w1, [x9]
	bl	_gpiod_direction_output
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _KTD2692_REG_MODE_BASE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KTD2692_REG_MODE_BASE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_ktd2692_expresswire_write
Lloh15:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x8, [x23]
	str	w8, [x20]
	mov	x0, x21
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_KTD2692_REG_FLASH_TIMEOUT_BASE,4,2 ; @KTD2692_REG_FLASH_TIMEOUT_BASE
	.comm	_KTD2692_MODE_FLASH,4,2         ; @KTD2692_MODE_FLASH
	.comm	_KTD2692_HIGH,4,2               ; @KTD2692_HIGH
	.comm	_KTD2692_MODE_DISABLE,8,3       ; @KTD2692_MODE_DISABLE
	.comm	_KTD2692_LOW,4,2                ; @KTD2692_LOW
	.comm	_KTD2692_REG_MODE_BASE,4,2      ; @KTD2692_REG_MODE_BASE
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_ktd2692_led_flash_strobe_set
.subsections_via_symbols
