	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stv090x_attach                 ## -- Begin function stv090x_attach
	.p2align	4, 0x90
_stv090x_attach:                        ## @stv090x_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
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_verbose@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	%r14, 48(%rbx)
	movq	%r12, 40(%rbx)
	movq	_stv090x_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, 8(%rbx)
	movl	%r15d, (%rbx)
	movl	4(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_STV090x_RO_35@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_stv090x_setup_compound
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	addq	$8, %rbx
LBB0_4:
	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	_verbose,4,2                    ## @verbose
	.comm	_stv090x_ops,4,2                ## @stv090x_ops
	.comm	_STV090x_RO_35,4,2              ## @STV090x_RO_35
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stv090x_attach                 ; -- Begin function stv090x_attach
	.p2align	2
_stv090x_attach:                        ; @stv090x_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	x20, 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, #64
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _verbose@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
	stp	x21, x8, [x19, #48]
	str	x22, [x19, #40]
Lloh5:
	adrp	x8, _stv090x_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stv090x_ops@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	x19, [x19, #8]
	str	w20, [x19]
	ldr	d0, [x21]
	stur	d0, [x19, #28]
Lloh8:
	adrp	x8, _STV090x_RO_35@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STV090x_RO_35@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_stv090x_setup_compound
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_kfree
	mov	x0, #0
	b	LBB0_4
LBB0_3:
	add	x0, x19, #8
LBB0_4:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_verbose,4,2                    ; @verbose
	.comm	_stv090x_ops,4,2                ; @stv090x_ops
	.comm	_STV090x_RO_35,4,2              ; @STV090x_RO_35
.subsections_via_symbols
