	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_dvb_set_frontend
_cx23885_dvb_set_frontend:              ## @cx23885_dvb_set_frontend
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rdi
	movl	(%rdi), %eax
	leal	-131(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.4:
	movq	_GPIO_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	callq	_cx23885_gpio_set
	jmp	LBB0_6
LBB0_1:
	cmpl	$134, %eax
	jne	LBB0_6
## %bb.2:
	cmpl	$128, 8(%r14)
	movq	_GPIO_5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jne	LBB0_5
## %bb.3:
	callq	_cx23885_gpio_clear
LBB0_6:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_5,4,2                     ## @GPIO_5
	.comm	_GPIO_0,4,2                     ## @GPIO_0
	.no_dead_strip	_cx23885_dvb_set_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23885_dvb_set_frontend
_cx23885_dvb_set_frontend:              ; @cx23885_dvb_set_frontend
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	x0, [x20, #8]
	ldr	w8, [x0]
	sub	w9, w8, #131
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GPIO_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
LBB0_2:
	bl	_cx23885_gpio_set
	b	LBB0_6
LBB0_3:
	cmp	w8, #134
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _GPIO_5@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GPIO_5@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.5:
	bl	_cx23885_gpio_clear
LBB0_6:
	ldr	x1, [x20]
	cbz	x1, LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_8:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_5,4,2                     ; @GPIO_5
	.comm	_GPIO_0,4,2                     ; @GPIO_0
	.no_dead_strip	_cx23885_dvb_set_frontend
.subsections_via_symbols
