	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx8802_request_release
_cx8802_request_release:                ## @cx8802_request_release
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	16(%rdi), %rbx
	decq	(%rbx)
	jne	LBB0_5
## %bb.2:
	movq	(%rdi), %rcx
	movq	_CX88_MPEG_DVB@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movl	12(%rbx), %ecx
	movl	%ecx, 16(%rbx)
LBB0_4:
	callq	*%rax
	movq	_CX88_BOARD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cx_read
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_dprintk
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX88_MPEG_DVB,8,3              ## @CX88_MPEG_DVB
	.comm	_CX88_BOARD_NONE,4,2            ## @CX88_BOARD_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Post release GPIO=%x\n"

	.comm	_MO_GP0_IO,4,2                  ## @MO_GP0_IO
	.no_dead_strip	_cx8802_request_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx8802_request_release
_cx8802_request_release:                ; @cx8802_request_release
	.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	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x19, [x0, #16]
	ldr	x9, [x19]
	subs	x9, x9, #1
	str	x9, [x19]
	b.ne	LBB0_5
; %bb.2:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _CX88_MPEG_DVB@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CX88_MPEG_DVB@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x19, #12]
	str	w9, [x19, #16]
LBB0_4:
	blr	x8
Lloh3:
	adrp	x8, _CX88_BOARD_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX88_BOARD_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _MO_GP0_IO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MO_GP0_IO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cx_read
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CX88_MPEG_DVB,8,3              ; @CX88_MPEG_DVB
	.comm	_CX88_BOARD_NONE,4,2            ; @CX88_BOARD_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Post release GPIO=%x\n"

	.comm	_MO_GP0_IO,4,2                  ; @MO_GP0_IO
	.no_dead_strip	_cx8802_request_release
.subsections_via_symbols
