	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ezusb_program_end
_ezusb_program_end:                     ## @ezusb_program_end
	.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	_EZUSB_RID_PROG_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EZUSB_RID_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ezusb_alloc_ctx
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_EZUSB_FRAME_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ezusb_access_ltv
	addq	$24, %rsp
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
LBB0_2:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EZUSB_RID_PROG_END,4,2         ## @EZUSB_RID_PROG_END
	.comm	_EZUSB_RID_ACK,4,2              ## @EZUSB_RID_ACK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EZUSB_FRAME_CONTROL,4,2        ## @EZUSB_FRAME_CONTROL
	.no_dead_strip	_ezusb_program_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ezusb_program_end
_ezusb_program_end:                     ; @ezusb_program_end
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _EZUSB_RID_PROG_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EZUSB_RID_PROG_END@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _EZUSB_RID_ACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EZUSB_RID_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ezusb_alloc_ctx
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh6:
	adrp	x8, _EZUSB_FRAME_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EZUSB_FRAME_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ezusb_access_ltv
LBB0_2:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EZUSB_RID_PROG_END,4,2         ; @EZUSB_RID_PROG_END
	.comm	_EZUSB_RID_ACK,4,2              ; @EZUSB_RID_ACK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EZUSB_FRAME_CONTROL,4,2        ; @EZUSB_FRAME_CONTROL
	.no_dead_strip	_ezusb_program_end
.subsections_via_symbols
