	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alauda_bounce_read
_alauda_bounce_read:                    ## @alauda_bounce_read
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	$0, -120(%rbp)
	movl	$0, -116(%rbp)
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, (%r14)
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%r12, %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r13
	andq	%r14, %r13
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	(%r12), %rsi
	subq	%r13, %rsi
	movq	%r15, %rdi
	callq	_min
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	leaq	-112(%rbp), %rcx
	leaq	-120(%rbp), %r8
	leaq	-116(%rbp), %r9
	callq	_alauda_read_page
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r12
	addq	%rbx, %r13
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	leaq	(%r14,%r15,4), %r14
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	addq	%r15, %r12
	movq	-160(%rbp), %rax                ## 8-byte Reload
	subq	%r15, %rax
	movq	%rax, %r15
	movq	%r12, %r14
	jne	LBB0_5
## %bb.7:
	movl	-120(%rbp), %ecx
	movq	_EUCLEAN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	subl	(%rdx), %r14d
	testl	%ecx, %ecx
	cmovel	%ecx, %r14d
	cmpl	$0, -116(%rbp)
	je	LBB0_10
## %bb.8:
	movq	_EBADMSG@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
LBB0_9:
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_11
LBB0_3:
	xorl	%r14d, %r14d
LBB0_10:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_kfree
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EUCLEAN,4,2                    ## @EUCLEAN
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.no_dead_strip	_alauda_bounce_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alauda_bounce_read
_alauda_bounce_read:                    ; @alauda_bounce_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	str	xzr, [sp]
	ldp	x0, x26, [x0]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	str	x21, [x24]
	cbz	x21, LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	and	x27, x8, x22
	ldr	x8, [x23]
	sub	x1, x8, x27
	mov	x0, x21
	bl	_min
	mov	x25, x0
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	bl	_alauda_read_page
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x19, x27
	mov	x0, x20
	mov	x2, x25
	bl	_memcpy
	add	x20, x20, x25, lsl #2
	add	x22, x25, x22
	subs	x21, x21, x25
	b.ne	LBB0_2
; %bb.4:
	ldp	w9, w8, [sp]
Lloh6:
	adrp	x10, _EUCLEAN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EUCLEAN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w8, #0
	csneg	w24, wzr, w10, eq
	cbz	w9, LBB0_9
; %bb.5:
Lloh9:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_10
LBB0_7:
	mov	w24, #0
	b	LBB0_9
LBB0_8:
	mov	x24, x0
LBB0_9:
	mov	x0, x19
	bl	_kfree
LBB0_10:
	ldr	x8, [sp, #72]
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_12
; %bb.11:
	mov	x0, x24
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EUCLEAN,4,2                    ; @EUCLEAN
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.no_dead_strip	_alauda_bounce_read
.subsections_via_symbols
