	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_va1j5jf8007t_attach            ## -- Begin function va1j5jf8007t_attach
	.p2align	4, 0x90
_va1j5jf8007t_attach:                   ## @va1j5jf8007t_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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movq	%r14, (%rax)
	leaq	24(%rax), %rdi
	movq	_va1j5jf8007t_ops@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, 16(%rbx)
	movabsq	$549755813889, %rax             ## imm = 0x8000000001
	movq	%rax, -40(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	$8, -72(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.2:
	addq	$16, %rbx
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_va1j5jf8007t_ops,4,2           ## @va1j5jf8007t_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function va1j5jf8007t_attach
lCPI0_0:
	.long	1                               ; 0x1
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_va1j5jf8007t_attach
	.p2align	2
_va1j5jf8007t_attach:                   ; @va1j5jf8007t_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, 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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	stp	x20, x21, [x0], #24
Lloh3:
	adrp	x1, _va1j5jf8007t_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _va1j5jf8007t_ops@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	str	x19, [x19, #16]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #40]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [sp, #32]
	mov	w8, #8
	str	w8, [sp, #8]
	add	x8, sp, #40
	stp	x8, xzr, [sp, #16]
	ldr	x0, [x19]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
	add	x0, x19, #16
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_kfree
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_va1j5jf8007t_ops,4,2           ; @va1j5jf8007t_ops
.subsections_via_symbols
