	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m88ds3103_attach               ## -- Begin function m88ds3103_attach
	.p2align	4, 0x90
_m88ds3103_attach:                      ## @m88ds3103_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	$0, -112(%rbp)
	movups	36(%rdi), %xmm0
	movups	%xmm0, -72(%rbp)
	movups	20(%rdi), %xmm0
	movups	%xmm0, -88(%rbp)
	movups	4(%rdi), %xmm0
	movups	%xmm0, -104(%rbp)
	movl	$1, -128(%rbp)
	leaq	-56(%rbp), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	-44(%rbp), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_strscpy
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	-128(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_i2c_new_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	*-112(%rbp)
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	*-120(%rbp)
	movq	%rax, %r12
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r12, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m88ds3103"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m88ds3103_attach               ; -- Begin function m88ds3103_attach
	.p2align	2
_m88ds3103_attach:                      ; @m88ds3103_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x21, x0
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldur	q1, [x0, #36]
	ldur	q0, [x0, #20]
	stp	q0, q1, [sp, #48]
	ldur	q0, [x0, #4]
	stur	q0, [sp, #32]
	mov	w8, #1
	str	w8, [sp, #8]
	sub	x0, x29, #48
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldur	w0, [x29, #-36]
Lloh0:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strscpy
	ldr	w8, [x21]
	stur	w8, [x29, #-40]
	add	x8, sp, #8
	stur	x8, [x29, #-48]
	sub	x1, x29, #48
	mov	x0, x20
	bl	_i2c_new_device
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [sp, #24]
	mov	x0, x20
	blr	x8
	str	x0, [x19]
	ldr	x8, [sp, #16]
	mov	x0, x20
	blr	x8
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m88ds3103"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
.subsections_via_symbols
