	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_ci_slot_reset            ## -- Begin function netup_ci_slot_reset
	.p2align	4, 0x90
_netup_ci_slot_reset:                   ## @netup_ci_slot_reset
	.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	(%rdi), %rbx
	movl	$128, -12(%rbp)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_udelay
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_netup_write_i2c
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_udelay
	movl	$0, -12(%rbp)
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_netup_write_i2c
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msleep
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dvb_ca_en50221_camready_irq
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_ci_slot_reset            ; -- Begin function netup_ci_slot_reset
	.p2align	2
_netup_ci_slot_reset:                   ; @netup_ci_slot_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	mov	w8, #128
	str	w8, [sp, #12]
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	w0, #500
	bl	_udelay
	ldp	w1, w0, [x19, #4]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #1
	bl	_netup_write_i2c
	cbnz	w0, LBB0_4
; %bb.3:
	mov	w0, #500
	bl	_udelay
	str	wzr, [sp, #12]
	ldp	w1, w0, [x19, #4]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #1
	bl	_netup_write_i2c
	mov	w0, #1000
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	bl	_dvb_ca_en50221_camready_irq
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
