	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_attach
_do_attach:                             ## @do_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_x@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_5
## %bb.2:
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-40(%rbp), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_strlcpy
	leaq	_do_attach.scan_ds1775(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_i2c_new_probed_device
	movl	-40(%rbp), %edi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_strlcpy
	leaq	_do_attach.scan_adm1030(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_i2c_new_probed_device
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movl	$1, (%r15)
	movq	_control_loop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	xorl	%esi, %esi
	callq	_kthread_run
	movl	%eax, 4(%r15)
LBB0_5:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @do_attach.scan_ds1775
_do_attach.scan_ds1775:
	.short	72                              ## 0x48
	.short	73                              ## 0x49
	.short	74                              ## 0x4a
	.short	75                              ## 0x4b
	.short	76                              ## 0x4c
	.short	77                              ## 0x4d
	.short	78                              ## 0x4e
	.short	79                              ## 0x4f
	.short	128                             ## 0x80

	.p2align	1                               ## @do_attach.scan_adm1030
_do_attach.scan_adm1030:
	.short	44                              ## 0x2c
	.short	45                              ## 0x2d
	.short	46                              ## 0x2e
	.short	47                              ## 0x2f
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uni-n"

	.comm	_x,24,3                         ## @x
L_.str.1:                               ## @.str.1
	.asciz	"therm_ds1775"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"therm_adm1030"

	.comm	_control_loop,4,2               ## @control_loop
L_.str.3:                               ## @.str.3
	.asciz	"g4fand"

	.no_dead_strip	_do_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_attach
_do_attach:                             ; @do_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
Lloh2:
	adrp	x20, _x@GOTPAGE
Lloh3:
	ldr	x20, [x20, _x@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	x0, #0
	ccmp	w8, #0, #0, eq
	b.ne	LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #8]
Lloh4:
	adrp	x21, _I2C_NAME_SIZE@GOTPAGE
Lloh5:
	ldr	x21, [x21, _I2C_NAME_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strlcpy
Lloh8:
	adrp	x2, _do_attach.scan_ds1775@PAGE
Lloh9:
	add	x2, x2, _do_attach.scan_ds1775@PAGEOFF
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_i2c_new_probed_device
	ldr	w0, [sp, #8]
	ldr	w2, [x21]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strlcpy
Lloh12:
	adrp	x2, _do_attach.scan_adm1030@PAGE
Lloh13:
	add	x2, x2, _do_attach.scan_adm1030@PAGEOFF
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_i2c_new_probed_device
	ldp	x9, x8, [x20, #8]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
Lloh14:
	adrp	x8, _control_loop@GOTPAGE
Lloh15:
	ldr	x8, [x8, _control_loop@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, #0
	bl	_kthread_run
	str	w0, [x20, #4]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	1                               ; @do_attach.scan_ds1775
_do_attach.scan_ds1775:
	.short	72                              ; 0x48
	.short	73                              ; 0x49
	.short	74                              ; 0x4a
	.short	75                              ; 0x4b
	.short	76                              ; 0x4c
	.short	77                              ; 0x4d
	.short	78                              ; 0x4e
	.short	79                              ; 0x4f
	.short	128                             ; 0x80

	.p2align	1                               ; @do_attach.scan_adm1030
_do_attach.scan_adm1030:
	.short	44                              ; 0x2c
	.short	45                              ; 0x2d
	.short	46                              ; 0x2e
	.short	47                              ; 0x2f
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uni-n"

	.comm	_x,24,3                         ; @x
l_.str.1:                               ; @.str.1
	.asciz	"therm_ds1775"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"therm_adm1030"

	.comm	_control_loop,4,2               ; @control_loop
l_.str.3:                               ; @.str.3
	.asciz	"g4fand"

	.no_dead_strip	_do_attach
.subsections_via_symbols
