	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7180_set_power_pin
_adv7180_set_power_pin:                 ## @adv7180_set_power_pin
	.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), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	je	LBB0_2
## %bb.4:
	xorl	%esi, %esi
	callq	_gpiod_set_value_cansleep
	movl	$5000, %edi                     ## imm = 0x1388
	movl	$10000, %esi                    ## imm = 0x2710
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %esi
	popq	%rbp
	jmp	_gpiod_set_value_cansleep       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adv7180_set_power_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7180_set_power_pin
_adv7180_set_power_pin:                 ; @adv7180_set_power_pin
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	cbz	w0, LBB0_3
; %bb.1:
	cbz	w1, LBB0_4
; %bb.2:
	mov	w1, #0
	bl	_gpiod_set_value_cansleep
	mov	w0, #5000
	mov	w1, #10000
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_usleep_range
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w1, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gpiod_set_value_cansleep
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adv7180_set_power_pin
.subsections_via_symbols
