	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_dma_mapping_error
_b43legacy_dma_mapping_error:           ## @b43legacy_dma_mapping_error
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_1
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_6
## %bb.3:
	movslq	%r12d, %rcx
	addq	%r15, %rcx
	cmpq	$1073741824, %rcx               ## imm = 0x40000000
	jbe	LBB0_6
	jmp	LBB0_5
LBB0_4:
	movslq	%r12d, %rcx
	addq	%r15, %rcx
	movabsq	$4294967297, %rdx               ## imm = 0x100000001
	cmpq	%rdx, %rcx
	jb	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_unmap_descbuffer
	movl	$1, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43legacy_dma_mapping_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_dma_mapping_error
_b43legacy_dma_mapping_error:           ; @b43legacy_dma_mapping_error
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_8
LBB0_2:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.4:
	add	x8, x20, w21, sxtw
	mov	w9, #1073741824
	cmp	x8, x9
	b.ls	LBB0_7
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_unmap_descbuffer
	b	LBB0_1
LBB0_6:
	add	x8, x20, w21, sxtw
	mov	x9, #4294967297
	cmp	x8, x9
	b.hs	LBB0_5
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43legacy_dma_mapping_error
.subsections_via_symbols
