	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lgdt330x_attach                ## -- Begin function lgdt330x_attach
	.p2align	4, 0x90
_lgdt330x_attach:                       ## @lgdt330x_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	$0, -40(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strscpy
	movl	%ebx, -40(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	callq	_lgdt330x_get_dvb_frontend
	movq	%rax, %r15
	jmp	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
LBB0_4:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lgdt330x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lgdt330x_attach                ; -- Begin function lgdt330x_attach
	.p2align	2
_lgdt330x_attach:                       ; @lgdt330x_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	str	xzr, [sp, #24]
	ldr	w8, [x0]
	str	w8, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	w2, #4
	bl	_strscpy
	str	w20, [sp, #24]
	add	x8, sp, #8
	str	x8, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	bl	_i2c_new_device
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_lgdt330x_get_dvb_frontend
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lgdt330x"

.subsections_via_symbols
