	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_key_adaptec
_get_key_adaptec:                       ## @get_key_adaptec
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movb	$0, -44(%rbp)
	movl	(%rdi), %edi
	leaq	-44(%rbp), %r13
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_i2c_master_send
	movl	(%rbx), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_i2c_master_recv
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$4, %ecx
	jne	LBB0_3
## %bb.1:
	cmpb	$-1, -42(%rbp)
	je	LBB0_3
## %bb.2:
	movb	-41(%rbp), %al
	orb	$-128, %al
	movq	_RC_PROTO_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r12)
	movb	%al, (%r15)
	movq	$0, (%r14)
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_PROTO_UNKNOWN,4,2           ## @RC_PROTO_UNKNOWN
	.no_dead_strip	_get_key_adaptec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_key_adaptec
_get_key_adaptec:                       ; @get_key_adaptec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	strb	wzr, [sp, #12]
	ldr	w0, [x0]
	add	x1, sp, #12
	mov	w2, #1
	bl	_i2c_master_send
	ldr	w0, [x22]
	add	x1, sp, #12
	mov	w2, #4
	bl	_i2c_master_recv
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [sp, #14]
	cmp	w8, #255
	b.eq	LBB0_3
; %bb.2:
	ldrb	w8, [sp, #15]
Lloh0:
	adrp	x9, _RC_PROTO_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RC_PROTO_UNKNOWN@GOTPAGEOFF]
	orr	w8, w8, #0x80
Lloh2:
	ldr	w9, [x9]
	str	w9, [x21]
	strb	w8, [x20]
	str	xzr, [x19]
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_PROTO_UNKNOWN,4,2           ; @RC_PROTO_UNKNOWN
	.no_dead_strip	_get_key_adaptec
.subsections_via_symbols
