	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bte_send_request
___bte_send_request:                    ## @__bte_send_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, 8(%rdi)
	movq	_ERR_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_STATE_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	callq	__CPU_ISR_Disable
	movq	(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	%rbx, 8(%rax)
	movq	%rbx, (%rdi)
	movq	_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, (%rdi)
	movq	%rbx, 8(%rdi)
	callq	___bte_send_pending_request
	movl	%eax, %ebx
LBB0_3:
	callq	__CPU_ISR_Restore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_VAL,4,2                    ## @ERR_VAL
	.comm	_STATE_READY,4,2                ## @STATE_READY
	.comm	_ERR_OK,4,2                     ## @ERR_OK
	.no_dead_strip	___bte_send_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bte_send_request
___bte_send_request:                    ; @__bte_send_request
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [x0, #8]
Lloh0:
	adrp	x8, _ERR_VAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STATE_READY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STATE_READY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	bl	__CPU_ISR_Disable
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	str	x19, [x8, #8]
	str	x19, [x0]
Lloh6:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_2:
	stp	x19, x19, [x0]
	bl	___bte_send_pending_request
	mov	x19, x0
LBB0_3:
	bl	__CPU_ISR_Restore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_VAL,4,2                    ; @ERR_VAL
	.comm	_STATE_READY,4,2                ; @STATE_READY
	.comm	_ERR_OK,4,2                     ; @ERR_OK
	.no_dead_strip	___bte_send_request
.subsections_via_symbols
