	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port_has_xo2
_port_has_xo2:                          ## @port_has_xo2
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$0, -52(%rbp)
	movq	_NGENE_XO2_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %r8
	movl	$16, %esi
	movl	$1, %ecx
	movl	$4, %r9d
	callq	_i2c_io
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.1:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	cmpl	$68, %edx
	jne	LBB0_4
## %bb.2:
	cmpl	$70, %ecx
	jne	LBB0_4
## %bb.3:
	movq	_NGENE_XO2_TYPE_DUOFLEX@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$67, %edx
	jne	LBB0_8
## %bb.5:
	cmpl	$73, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_NGENE_XO2_TYPE_CI@GOTPCREL(%rip), %rax
LBB0_7:
	movl	-40(%rbp), %ecx
	movl	%ecx, (%r14)
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NGENE_XO2_TYPE_NONE,4,2        ## @NGENE_XO2_TYPE_NONE
	.comm	_NGENE_XO2_TYPE_DUOFLEX,4,2     ## @NGENE_XO2_TYPE_DUOFLEX
	.comm	_NGENE_XO2_TYPE_CI,4,2          ## @NGENE_XO2_TYPE_CI
	.no_dead_strip	_port_has_xo2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port_has_xo2
_port_has_xo2:                          ; @port_has_xo2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	wzr, [sp, #4]
Lloh3:
	adrp	x8, _NGENE_XO2_TYPE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NGENE_XO2_TYPE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1]
	add	x2, sp, #4
	add	x4, sp, #8
	mov	w1, #16
	mov	w3, #1
	mov	w5, #4
	bl	_i2c_io
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_8
; %bb.1:
	ldp	w9, w8, [sp, #8]
	cmp	w9, #68
	b.ne	LBB0_4
; %bb.2:
	cmp	w8, #70
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _NGENE_XO2_TYPE_DUOFLEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NGENE_XO2_TYPE_DUOFLEX@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	w0, #0
	cmp	w9, #67
	b.ne	LBB0_8
; %bb.5:
	cmp	w8, #73
	b.ne	LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _NGENE_XO2_TYPE_CI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NGENE_XO2_TYPE_CI@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [sp, #16]
	str	w9, [x20]
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
LBB0_8:
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NGENE_XO2_TYPE_NONE,4,2        ; @NGENE_XO2_TYPE_NONE
	.comm	_NGENE_XO2_TYPE_DUOFLEX,4,2     ; @NGENE_XO2_TYPE_DUOFLEX
	.comm	_NGENE_XO2_TYPE_CI,4,2          ; @NGENE_XO2_TYPE_CI
	.no_dead_strip	_port_has_xo2
.subsections_via_symbols
