	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_sleep
_simple_sleep:                          ## @simple_sleep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	leaq	8(%rbx), %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$1, %esi
	callq	*%rax
	movq	(%rbx), %rax
	movq	(%rax), %rsi
LBB0_5:
	movl	(%rsi), %edx
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_tuner_i2c_xfer_send
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_simple_sleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_sleep
_simple_sleep:                          ; @simple_sleep
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0, #8]
	mov	x19, x20
	ldr	x8, [x19, #8]!
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	ldr	x1, [x8]
	cbz	x1, LBB0_5
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w1, #1
	blr	x8
	ldr	x8, [x20]
	ldr	x1, [x8]
LBB0_4:
	ldr	w2, [x1], #4
	mov	x0, x19
	bl	_tuner_i2c_xfer_send
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_simple_sleep
.subsections_via_symbols
