	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_REQUEST_JUMPRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, 4(%rbx)
	movl	$0, 12(%rbx)
	movl	%r15d, %ecx
	movl	%r15d, %eax
	shrl	$24, %eax
	movl	%eax, 16(%rbx)
	movl	%r15d, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, 20(%rbx)
	movzbl	%ch, %eax
	movl	%eax, 24(%rbx)
	movzbl	%cl, %eax
	movl	%eax, 28(%rbx)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_usb_sndbulkpipe
	leaq	-28(%rbp), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	$8, %ecx
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_usb_bulk_msg
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	cmpl	$8, -28(%rbp)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_deb_fw
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_deb_fw
LBB0_6:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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, #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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _REQUEST_JUMPRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REQUEST_JUMPRAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, wzr, [x0]
	str	xzr, [x0, #8]
	lsr	w8, w20, #24
	str	w8, [x0, #16]
	dup.2s	v0, w20
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, [x0, #20]
	and	w8, w20, #0xff
	str	w8, [x0, #28]
	mov	x0, x21
	mov	w1, #1
	bl	_usb_sndbulkpipe
	mov	x1, x0
	add	x4, sp, #12
	mov	x0, x21
	mov	x2, x19
	mov	w3, #8
	mov	w5, #1000
	bl	_usb_bulk_msg
	mov	x21, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
	cmp	w8, #8
	b.eq	LBB0_6
; %bb.3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_deb_fw
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_deb_fw
LBB0_6:
	mov	x0, x19
	bl	_kfree
LBB0_7:
	mov	x0, x21
	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
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.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
