	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8096p_tuner_sleep
_dib8096p_tuner_sleep:                  ## @dib8096p_tuner_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
	movl	%esi, %ebx
	movq	(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%r14, %rdi
	movl	$1922, %esi                     ## imm = 0x782
	callq	_dib8000_read_word
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_2
## %bb.1:
	movl	%eax, (%r14)
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movzbl	%al, %eax
	jmp	LBB0_5
LBB0_4:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	cmovnel	%ecx, %eax
LBB0_5:
	movq	%r14, %rdi
	movl	$1922, %esi                     ## imm = 0x782
	movl	%eax, %edx
	callq	_dib8000_write_word
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sleep dib8096p: %d\n"

	.no_dead_strip	_dib8096p_tuner_sleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8096p_tuner_sleep
_dib8096p_tuner_sleep:                  ; @dib8096p_tuner_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
	mov	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #1922
	bl	_dib8000_read_word
	cmp	w0, #256
	b.lt	LBB0_2
; %bb.1:
	str	w0, [x19]
LBB0_2:
	cbz	w20, LBB0_4
; %bb.3:
	and	w2, w0, #0xff
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #0
	csel	w2, w0, w8, eq
LBB0_5:
	mov	x0, x19
	mov	w1, #1922
	bl	_dib8000_write_word
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sleep dib8096p: %d\n"

	.no_dead_strip	_dib8096p_tuner_sleep
.subsections_via_symbols
