	.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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$0, -52(%rbp)
	movq	(%rdi), %rdi
	leaq	-52(%rbp), %rdx
	movl	$1, %ebx
	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_6
## %bb.1:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	cmpl	$68, %edx
	jne	LBB0_3
## %bb.2:
	cmpl	$70, %ecx
	je	LBB0_5
LBB0_3:
	cmpl	$67, %edx
	jne	LBB0_6
## %bb.4:
	movl	$2, %ebx
	cmpl	$73, %ecx
	jne	LBB0_6
LBB0_5:
	movl	-40(%rbp), %eax
	movl	%eax, (%r14)
	movl	%ebx, (%r15)
	movl	$1, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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]
	ldr	x0, [x0]
	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:
	mov	w8, #1
	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:
	mov	w8, #2
LBB0_7:
	ldr	w9, [sp, #16]
	str	w9, [x20]
	str	w8, [x19]
	mov	w0, #1
LBB0_8:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_port_has_xo2
.subsections_via_symbols
