	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib3000mb_attach               ## -- Begin function dib3000mb_attach
	.p2align	4, 0x90
_dib3000mb_attach:                      ## @dib3000mb_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r12, 24(%rbx)
	leaq	16(%rbx), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_DIB3000_REG_MANUFACTOR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movq	_DIB3000_I2C_ID_DIBCOM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_DIB3000_REG_DEVICE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movq	_DIB3000MB_DEVICE_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	_dib3000mb_ops@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, (%rbx)
	movq	_dib3000mb_pid_parse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_dib3000mb_fifo_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_dib3000mb_pid_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_dib3000mb_tuner_pass_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DIB3000_REG_MANUFACTOR_ID,4,2  ## @DIB3000_REG_MANUFACTOR_ID
	.comm	_DIB3000_I2C_ID_DIBCOM,8,3      ## @DIB3000_I2C_ID_DIBCOM
	.comm	_DIB3000_REG_DEVICE_ID,4,2      ## @DIB3000_REG_DEVICE_ID
	.comm	_DIB3000MB_DEVICE_ID,8,3        ## @DIB3000MB_DEVICE_ID
	.comm	_dib3000mb_ops,4,2              ## @dib3000mb_ops
	.comm	_dib3000mb_pid_parse,4,2        ## @dib3000mb_pid_parse
	.comm	_dib3000mb_fifo_control,4,2     ## @dib3000mb_fifo_control
	.comm	_dib3000mb_pid_control,4,2      ## @dib3000mb_pid_control
	.comm	_dib3000mb_tuner_pass_ctrl,4,2  ## @dib3000mb_tuner_pass_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib3000mb_attach               ; -- Begin function dib3000mb_attach
	.p2align	2
_dib3000mb_attach:                      ; @dib3000mb_attach
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	str	x22, [x20, #24]
	add	x0, x20, #16
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _DIB3000_REG_MANUFACTOR_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIB3000_REG_MANUFACTOR_ID@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_rd
Lloh6:
	adrp	x8, _DIB3000_I2C_ID_DIBCOM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIB3000_I2C_ID_DIBCOM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _DIB3000_REG_DEVICE_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DIB3000_REG_DEVICE_ID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_rd
Lloh12:
	adrp	x8, _DIB3000MB_DEVICE_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DIB3000MB_DEVICE_ID@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	add	x0, x20, #8
Lloh15:
	adrp	x1, _dib3000mb_ops@GOTPAGE
Lloh16:
	ldr	x1, [x1, _dib3000mb_ops@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	str	x20, [x20]
Lloh17:
	adrp	x8, _dib3000mb_pid_parse@GOTPAGE
Lloh18:
	ldr	x8, [x8, _dib3000mb_pid_parse@GOTPAGEOFF]
Lloh19:
	adrp	x9, _dib3000mb_fifo_control@GOTPAGE
Lloh20:
	ldr	x9, [x9, _dib3000mb_fifo_control@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh23:
	adrp	x8, _dib3000mb_pid_control@GOTPAGE
Lloh24:
	ldr	x8, [x8, _dib3000mb_pid_control@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _dib3000mb_tuner_pass_ctrl@GOTPAGE
Lloh27:
	ldr	x9, [x9, _dib3000mb_tuner_pass_ctrl@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_kfree
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DIB3000_REG_MANUFACTOR_ID,4,2  ; @DIB3000_REG_MANUFACTOR_ID
	.comm	_DIB3000_I2C_ID_DIBCOM,8,3      ; @DIB3000_I2C_ID_DIBCOM
	.comm	_DIB3000_REG_DEVICE_ID,4,2      ; @DIB3000_REG_DEVICE_ID
	.comm	_DIB3000MB_DEVICE_ID,8,3        ; @DIB3000MB_DEVICE_ID
	.comm	_dib3000mb_ops,4,2              ; @dib3000mb_ops
	.comm	_dib3000mb_pid_parse,4,2        ; @dib3000mb_pid_parse
	.comm	_dib3000mb_fifo_control,4,2     ; @dib3000mb_fifo_control
	.comm	_dib3000mb_pid_control,4,2      ; @dib3000mb_pid_control
	.comm	_dib3000mb_tuner_pass_ctrl,4,2  ; @dib3000mb_tuner_pass_ctrl
.subsections_via_symbols
