	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsl2772_device_id_verif
_tsl2772_device_id_verif:               ## @tsl2772_device_id_verif
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$10, %esi
	ja	LBB0_7
## %bb.1:
	movl	$1365, %eax                     ## imm = 0x555
	btl	%esi, %eax
	jae	LBB0_2
## %bb.6:
	andl	$240, %edi
	movq	_SWORDFISH_ID@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movl	$42, %eax
	andl	$240, %edi
	btl	%esi, %eax
	jae	LBB0_5
## %bb.3:
	movq	_TRITON_ID@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_HALIBUT_ID@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	cmpl	(%rcx), %edi
	sete	%al
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRITON_ID,4,2                  ## @TRITON_ID
	.comm	_HALIBUT_ID,4,2                 ## @HALIBUT_ID
	.comm	_SWORDFISH_ID,4,2               ## @SWORDFISH_ID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tsl2772_device_id_verif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsl2772_device_id_verif
_tsl2772_device_id_verif:               ; @tsl2772_device_id_verif
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #10
	b.hi	LBB0_7
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #1365
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
	and	w8, w0, #0xf0
Lloh0:
	adrp	x9, _SWORDFISH_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SWORDFISH_ID@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	w9, #42
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
	and	w8, w0, #0xf0
Lloh2:
	adrp	x9, _TRITON_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRITON_ID@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	and	w8, w0, #0xf0
Lloh4:
	adrp	x9, _HALIBUT_ID@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HALIBUT_ID@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	ret
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TRITON_ID,4,2                  ; @TRITON_ID
	.comm	_HALIBUT_ID,4,2                 ; @HALIBUT_ID
	.comm	_SWORDFISH_ID,4,2               ; @SWORDFISH_ID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tsl2772_device_id_verif
.subsections_via_symbols
