	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_led_flash_strobe_set
_max77693_led_flash_strobe_set:         ## @max77693_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	callq	_flcdev_to_sub_led
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_sub_led_to_led
	movq	%rax, %rbx
	movl	(%r15), %r12d
	movq	%rax, %r14
	addq	$12, %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rsi
	cmpq	(%rbx), %rsi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_max77693_set_timeout
	testl	%eax, %eax
	js	LBB0_6
LBB0_4:
	movl	%r12d, 8(%rbx)
	movl	%r12d, %edi
	callq	_MODE_FLASH
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_max77693_add_mode
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_max77693_get_flash_faults
	jmp	LBB0_6
LBB0_1:
	movl	%r12d, %edi
	callq	_MODE_FLASH
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_max77693_clear_mode
LBB0_6:
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_max77693_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 max77693_led_flash_strobe_set
_max77693_led_flash_strobe_set:         ; @max77693_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	x23, x1
	bl	_flcdev_to_sub_led
	mov	x20, x0
	bl	_sub_led_to_led
	mov	x21, x0
	ldr	w22, [x20]
	add	x19, x0, #12
	mov	x0, x19
	bl	_mutex_lock
	cbz	w23, LBB0_5
; %bb.1:
	ldr	x1, [x20, #8]
	ldr	x8, [x21]
	cmp	x1, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_max77693_set_timeout
	tbnz	w0, #31, LBB0_6
LBB0_3:
	str	w22, [x21, #8]
	mov	x0, x22
	bl	_MODE_FLASH
	mov	x1, x0
	mov	x0, x21
	bl	_max77693_add_mode
	tbnz	w0, #31, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_max77693_get_flash_faults
	b	LBB0_6
LBB0_5:
	mov	x0, x22
	bl	_MODE_FLASH
	mov	x1, x0
	mov	x0, x21
	bl	_max77693_clear_mode
LBB0_6:
	mov	x23, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x23
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_max77693_led_flash_strobe_set
.subsections_via_symbols
