	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsl4531_check_id
_tsl4531_check_id:                      ## @tsl4531_check_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TSL4531_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_TSL4531_ID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	andl	$-4, %eax
	xorl	%ecx, %ecx
	cmpl	$128, %eax
	je	LBB0_4
## %bb.3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ecx
LBB0_4:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSL4531_ID,4,2                 ## @TSL4531_ID
	.comm	_TSL4531_ID_SHIFT,4,2           ## @TSL4531_ID_SHIFT
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_tsl4531_check_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsl4531_check_id
_tsl4531_check_id:                      ; @tsl4531_check_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _TSL4531_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TSL4531_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _TSL4531_ID_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TSL4531_ID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TSL4531_ID,4,2                 ; @TSL4531_ID
	.comm	_TSL4531_ID_SHIFT,4,2           ; @TSL4531_ID_SHIFT
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_tsl4531_check_id
.subsections_via_symbols
