	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dibusb_dib3000mb_frontend_attach
_dibusb_dib3000mb_frontend_attach:      ## @dibusb_dib3000mb_frontend_attach
	.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
	movq	16(%rdi), %rcx
	movl	$8, -16(%rbp)
	movq	_dib3000mb_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	leaq	-16(%rbp), %rsi
	callq	_dvb_attach
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_dib3000mb_i2c_gate_ctrl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dib3000mb_attach,4,2           ## @dib3000mb_attach
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_dib3000mb_i2c_gate_ctrl,4,2    ## @dib3000mb_i2c_gate_ctrl
	.no_dead_strip	_dibusb_dib3000mb_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dibusb_dib3000mb_frontend_attach
_dibusb_dib3000mb_frontend_attach:      ; @dibusb_dib3000mb_frontend_attach
	.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
	mov	x19, x0
	mov	w8, #8
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _dib3000mb_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dib3000mb_attach@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x2, x3, [x19, #8]
	add	x1, sp, #8
	bl	_dvb_attach
	ldr	x9, [x19]
	str	x0, [x9]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _dib3000mb_i2c_gate_ctrl@GOTPAGE
Lloh4:
	ldr	x9, [x9, _dib3000mb_i2c_gate_ctrl@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dib3000mb_attach,4,2           ; @dib3000mb_attach
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_dib3000mb_i2c_gate_ctrl,4,2    ; @dib3000mb_i2c_gate_ctrl
	.no_dead_strip	_dibusb_dib3000mb_frontend_attach
.subsections_via_symbols
