	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ezusb_program_bytes
_ezusb_program_bytes:                   ## @ezusb_program_bytes
	.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
	movl	%ecx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	movl	%edx, %edi
	callq	_cpu_to_le32
	movb	%al, -41(%rbp)
	movq	_EZUSB_RID_PROG_SET_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EZUSB_RID_ACK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_ezusb_alloc_ctx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_EZUSB_FRAME_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	-41(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$1, %edx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ezusb_access_ltv
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_EZUSB_RID_PROG_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_ezusb_alloc_ctx
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movl	(%r13), %r8d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ezusb_access_ltv
	addq	$16, %rsp
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EZUSB_RID_PROG_SET_ADDR,4,2    ## @EZUSB_RID_PROG_SET_ADDR
	.comm	_EZUSB_RID_ACK,4,2              ## @EZUSB_RID_ACK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EZUSB_FRAME_CONTROL,4,2        ## @EZUSB_FRAME_CONTROL
	.comm	_EZUSB_RID_PROG_BYTES,4,2       ## @EZUSB_RID_PROG_BYTES
	.no_dead_strip	_ezusb_program_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ezusb_program_bytes
_ezusb_program_bytes:                   ; @ezusb_program_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x1
	ldr	x21, [x0]
	mov	x0, x2
	bl	_cpu_to_le32
	strb	w0, [sp, #15]
Lloh0:
	adrp	x8, _EZUSB_RID_PROG_SET_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EZUSB_RID_PROG_SET_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x22, _EZUSB_RID_ACK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EZUSB_RID_ACK@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	bl	_ezusb_alloc_ctx
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x23, _EZUSB_FRAME_CONTROL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EZUSB_FRAME_CONTROL@GOTPAGEOFF]
	ldr	w4, [x23]
	add	x3, sp, #15
	mov	x0, x21
	mov	w2, #1
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ezusb_access_ltv
	cbnz	w0, LBB0_5
; %bb.2:
Lloh7:
	adrp	x8, _EZUSB_RID_PROG_BYTES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EZUSB_RID_PROG_BYTES@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x21
	bl	_ezusb_alloc_ctx
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
	ldr	w4, [x23]
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ezusb_access_ltv
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EZUSB_RID_PROG_SET_ADDR,4,2    ; @EZUSB_RID_PROG_SET_ADDR
	.comm	_EZUSB_RID_ACK,4,2              ; @EZUSB_RID_ACK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EZUSB_FRAME_CONTROL,4,2        ; @EZUSB_FRAME_CONTROL
	.comm	_EZUSB_RID_PROG_BYTES,4,2       ; @EZUSB_RID_PROG_BYTES
	.no_dead_strip	_ezusb_program_bytes
.subsections_via_symbols
