	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ngene_port_has_cxd2099         ## -- Begin function ngene_port_has_cxd2099
	.p2align	4, 0x90
_ngene_port_has_cxd2099:                ## @ngene_port_has_cxd2099
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movaps	L___const.ngene_port_has_cxd2099.probe(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	$64, -96(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	$4, -80(%rbp)
	movl	$64, -72(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$4, -56(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jne	LBB0_2
## %bb.1:
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %ecx
	xorl	$2, %eax
	xorl	$43, %ecx
	orl	%eax, %ecx
	movl	-36(%rbp), %eax
	xorl	$67, %eax
	xorl	%edx, %edx
	orl	%ecx, %eax
	sete	%dl
	incl	%edx
	movl	%edx, (%rbx)
	movl	$1, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.ngene_port_has_cxd2099.probe
L___const.ngene_port_has_cxd2099.probe:
	.long	224                             ## 0xe0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ngene_port_has_cxd2099
lCPI0_0:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ngene_port_has_cxd2099
	.p2align	2
_ngene_port_has_cxd2099:                ; @ngene_port_has_cxd2099
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.ngene_port_has_cxd2099.probe@PAGE
Lloh4:
	add	x8, x8, l___const.ngene_port_has_cxd2099.probe@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	stur	q0, [x29, #-48]
	mov	w8, #64
	str	w8, [sp]
	sub	x9, x29, #48
	str	x9, [sp, #8]
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	str	w8, [sp, #24]
	add	x8, sp, #48
	str	x8, [sp, #32]
	mov	w8, #4
Lloh8:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #40]
	mov	x1, sp
	mov	w2, #2
	bl	_i2c_transfer
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldp	w8, w9, [sp, #48]
	ldr	w10, [sp, #60]
	cmp	w10, #67
	mov	w10, #43
	ccmp	w9, w10, #0, eq
	ccmp	w8, #2, #0, eq
	mov	w0, #1
	cinc	w8, w0, eq
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.ngene_port_has_cxd2099.probe
l___const.ngene_port_has_cxd2099.probe:
	.long	224                             ; 0xe0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
.subsections_via_symbols
