	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7411_init_device
_adt7411_init_device:                   ## @adt7411_init_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_ADT7411_REG_CFG3@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	_ADT7411_CFG3_RESERVED_BIT1@GOTPCREL(%rip), %rcx
	movq	_ADT7411_CFG3_RESERVED_BIT2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
	movq	_ADT7411_CFG3_RESERVED_BIT3@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	movl	%eax, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	movq	_ADT7411_REG_CFG1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ADT7411_CFG1_EXT_TDM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_ADT7411_CFG1_RESERVED_BIT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movq	_ADT7411_CFG1_RESERVED_BIT3@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADT7411_CFG1_START_MONITOR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADT7411_REG_CFG3,4,2           ## @ADT7411_REG_CFG3
	.comm	_ADT7411_CFG3_RESERVED_BIT1,4,2 ## @ADT7411_CFG3_RESERVED_BIT1
	.comm	_ADT7411_CFG3_RESERVED_BIT2,4,2 ## @ADT7411_CFG3_RESERVED_BIT2
	.comm	_ADT7411_CFG3_RESERVED_BIT3,4,2 ## @ADT7411_CFG3_RESERVED_BIT3
	.comm	_ADT7411_REG_CFG1,4,2           ## @ADT7411_REG_CFG1
	.comm	_ADT7411_CFG1_EXT_TDM,4,2       ## @ADT7411_CFG1_EXT_TDM
	.comm	_ADT7411_CFG1_RESERVED_BIT1,4,2 ## @ADT7411_CFG1_RESERVED_BIT1
	.comm	_ADT7411_CFG1_RESERVED_BIT3,4,2 ## @ADT7411_CFG1_RESERVED_BIT3
	.comm	_ADT7411_CFG1_START_MONITOR,4,2 ## @ADT7411_CFG1_START_MONITOR
	.no_dead_strip	_adt7411_init_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7411_init_device
_adt7411_init_device:                   ; @adt7411_init_device
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x20, _ADT7411_REG_CFG3@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ADT7411_REG_CFG3@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _ADT7411_CFG3_RESERVED_BIT1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ADT7411_CFG3_RESERVED_BIT1@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ADT7411_CFG3_RESERVED_BIT2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ADT7411_CFG3_RESERVED_BIT2@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh8:
	adrp	x9, _ADT7411_CFG3_RESERVED_BIT3@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ADT7411_CFG3_RESERVED_BIT3@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x20, _ADT7411_REG_CFG1@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ADT7411_REG_CFG1@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _ADT7411_CFG1_EXT_TDM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ADT7411_CFG1_EXT_TDM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19]
Lloh16:
	adrp	x8, _ADT7411_CFG1_RESERVED_BIT1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ADT7411_CFG1_RESERVED_BIT1@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _ADT7411_CFG1_RESERVED_BIT3@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ADT7411_CFG1_RESERVED_BIT3@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _ADT7411_CFG1_START_MONITOR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ADT7411_CFG1_START_MONITOR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i2c_smbus_write_byte_data
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ADT7411_REG_CFG3,4,2           ; @ADT7411_REG_CFG3
	.comm	_ADT7411_CFG3_RESERVED_BIT1,4,2 ; @ADT7411_CFG3_RESERVED_BIT1
	.comm	_ADT7411_CFG3_RESERVED_BIT2,4,2 ; @ADT7411_CFG3_RESERVED_BIT2
	.comm	_ADT7411_CFG3_RESERVED_BIT3,4,2 ; @ADT7411_CFG3_RESERVED_BIT3
	.comm	_ADT7411_REG_CFG1,4,2           ; @ADT7411_REG_CFG1
	.comm	_ADT7411_CFG1_EXT_TDM,4,2       ; @ADT7411_CFG1_EXT_TDM
	.comm	_ADT7411_CFG1_RESERVED_BIT1,4,2 ; @ADT7411_CFG1_RESERVED_BIT1
	.comm	_ADT7411_CFG1_RESERVED_BIT3,4,2 ; @ADT7411_CFG1_RESERVED_BIT3
	.comm	_ADT7411_CFG1_START_MONITOR,4,2 ; @ADT7411_CFG1_START_MONITOR
	.no_dead_strip	_adt7411_init_device
.subsections_via_symbols
