	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib0700_jumpram
_dib0700_jumpram:                       ## @dib0700_jumpram
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ecx
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_REQUEST_JUMPRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -60(%rbp)
	movl	$0, -52(%rbp)
	movl	%esi, %eax
	shrl	$24, %eax
	movl	%eax, -48(%rbp)
	movl	%esi, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, -44(%rbp)
	movzbl	%ch, %eax
	movl	%eax, -40(%rbp)
	movl	%esi, %r14d
	movzbl	%cl, %eax
	movl	%eax, -36(%rbp)
	movl	$1, %esi
	callq	_usb_sndbulkpipe
	leaq	-64(%rbp), %rdx
	leaq	-68(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$8, %ecx
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_usb_bulk_msg
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	cmpl	$8, -68(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_deb_fw
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_deb_fw
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REQUEST_JUMPRAM,4,2            ## @REQUEST_JUMPRAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jumpram to 0x%x failed\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_dib0700_jumpram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dib0700_jumpram
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dib0700_jumpram:                       ; @dib0700_jumpram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _REQUEST_JUMPRAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REQUEST_JUMPRAM@GOTPAGEOFF]
	stur	x8, [x29, #-24]
Lloh5:
	ldr	w8, [x9]
	stp	w8, wzr, [sp, #8]
	str	xzr, [sp, #16]
	lsr	w8, w1, #24
	str	w8, [sp, #24]
	dup.2s	v0, w1
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [sp, #28]
	and	w8, w1, #0xff
	str	w8, [sp, #36]
	mov	w1, #1
	bl	_usb_sndbulkpipe
	mov	x1, x0
	add	x2, sp, #8
	add	x4, sp, #4
	mov	x0, x20
	mov	w3, #8
	mov	w5, #1000
	bl	_usb_bulk_msg
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w8, [sp, #4]
	cmp	w8, #8
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #0
	b	LBB0_5
LBB0_3:
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_deb_fw
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_deb_fw
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_REQUEST_JUMPRAM,4,2            ; @REQUEST_JUMPRAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jumpram to 0x%x failed\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_dib0700_jumpram
.subsections_via_symbols
