	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpx_write
_mpx_write:                             ## @mpx_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	%esi, -32(%rbp)
	movzbl	%dl, %eax
	sarl	$8, %edx
	movl	%edx, -28(%rbp)
	movl	%eax, -24(%rbp)
	movzbl	%cl, %eax
	sarl	$8, %ecx
	movl	%ecx, -20(%rbp)
	movl	%eax, -16(%rbp)
	movl	4(%rdi), %eax
	movl	%eax, -40(%rbp)
	movq	$0, -48(%rbp)
	movl	$5, -64(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -56(%rbp)
	movl	(%rdi), %edi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$64, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpx_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpx_write
_mpx_write:                             ; @mpx_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	asr	w8, w2, #8
	stp	w1, w8, [x29, #-28]
	and	w8, w2, #0xff
	asr	w9, w3, #8
	stp	w8, w9, [x29, #-20]
	and	w8, w3, #0xff
	stur	w8, [x29, #-12]
	ldp	w0, w8, [x0]
	str	w8, [sp, #24]
	mov	w8, #5
	str	w8, [sp]
	sub	x8, x29, #28
	stp	x8, xzr, [sp, #8]
	mov	x1, sp
	mov	w2, #1
	bl	_i2c_transfer
	ldur	x8, [x29, #-8]
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_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpx_write
.subsections_via_symbols
