	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op32_fill_descriptor
_op32_fill_descriptor:                  ## @op32_fill_descriptor
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	subq	16(%rdi), %r15
	shrq	$4, %r15
	testl	%r15d, %r15d
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	js	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	%r15d, (%r12)
	setle	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_B43_WARN_ON
	movq	8(%r12), %rdi
	movq	_B43_DMA_ADDR_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_b43_dma_address
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdi
	movq	_B43_DMA_ADDR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_b43_dma_address
	movq	_B43_DMA32_DCTL_BYTECNT@GOTPCREL(%rip), %rcx
	movl	(%r12), %esi
	decl	%esi
	xorl	%edx, %edx
	cmpl	%r15d, %esi
	jne	LBB0_5
## %bb.4:
	movq	_B43_DMA32_DCTL_DTABLEEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_5:
	andl	(%rcx), %ebx
	testl	%r13d, %r13d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	je	LBB0_7
## %bb.6:
	movq	_B43_DMA32_DCTL_FRAMESTART@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_7:
	orl	%r13d, %ebx
	movl	16(%rbp), %ecx
	testl	%esi, %esi
	je	LBB0_9
## %bb.8:
	movq	_B43_DMA32_DCTL_FRAMEEND@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_9:
	orl	%esi, %ebx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	movq	_B43_DMA32_DCTL_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	orl	%ecx, %ebx
	orl	%ebx, %edx
	movq	_B43_DMA32_DCTL_ADDREXT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_B43_DMA32_DCTL_ADDREXT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%edx, %eax
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_DMA_ADDR_LOW,4,2           ## @B43_DMA_ADDR_LOW
	.comm	_B43_DMA_ADDR_EXT,4,2           ## @B43_DMA_ADDR_EXT
	.comm	_B43_DMA32_DCTL_BYTECNT,4,2     ## @B43_DMA32_DCTL_BYTECNT
	.comm	_B43_DMA32_DCTL_DTABLEEND,4,2   ## @B43_DMA32_DCTL_DTABLEEND
	.comm	_B43_DMA32_DCTL_FRAMESTART,4,2  ## @B43_DMA32_DCTL_FRAMESTART
	.comm	_B43_DMA32_DCTL_FRAMEEND,4,2    ## @B43_DMA32_DCTL_FRAMEEND
	.comm	_B43_DMA32_DCTL_IRQ,4,2         ## @B43_DMA32_DCTL_IRQ
	.comm	_B43_DMA32_DCTL_ADDREXT_SHIFT,4,2 ## @B43_DMA32_DCTL_ADDREXT_SHIFT
	.comm	_B43_DMA32_DCTL_ADDREXT_MASK,4,2 ## @B43_DMA32_DCTL_ADDREXT_MASK
	.no_dead_strip	_op32_fill_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op32_fill_descriptor
_op32_fill_descriptor:                  ; @op32_fill_descriptor
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x19, x1
	mov	x24, x0
	ldr	x8, [x0, #16]
	sub	x8, x1, x8
	lsr	x27, x8, #4
	tbnz	w27, #31, LBB0_2
; %bb.1:
	ldr	w8, [x24]
	cmp	w8, w27
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_B43_WARN_ON
	ldr	x0, [x24, #8]
Lloh0:
	adrp	x8, _B43_DMA_ADDR_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_DMA_ADDR_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_b43_dma_address
	mov	x26, x0
	ldr	x0, [x24, #8]
Lloh3:
	adrp	x8, _B43_DMA_ADDR_EXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_DMA_ADDR_EXT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_b43_dma_address
Lloh6:
	adrp	x8, _B43_DMA32_DCTL_BYTECNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_DMA32_DCTL_BYTECNT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w23
	ldr	w9, [x24]
	sub	w9, w9, #1
Lloh9:
	adrp	x10, _B43_DMA32_DCTL_DTABLEEND@GOTPAGE
Lloh10:
	ldr	x10, [x10, _B43_DMA32_DCTL_DTABLEEND@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w27
	csel	w9, w10, wzr, eq
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _B43_DMA32_DCTL_FRAMESTART@GOTPAGE
Lloh13:
	ldr	x9, [x9, _B43_DMA32_DCTL_FRAMESTART@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w22, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _B43_DMA32_DCTL_FRAMEEND@GOTPAGE
Lloh16:
	ldr	x9, [x9, _B43_DMA32_DCTL_FRAMEEND@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w21, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _B43_DMA32_DCTL_IRQ@GOTPAGE
Lloh19:
	ldr	x9, [x9, _B43_DMA32_DCTL_IRQ@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w20, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _B43_DMA32_DCTL_ADDREXT_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _B43_DMA32_DCTL_ADDREXT_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	lsl	w9, w0, w9
Lloh24:
	adrp	x10, _B43_DMA32_DCTL_ADDREXT_MASK@GOTPAGE
Lloh25:
	ldr	x10, [x10, _B43_DMA32_DCTL_ADDREXT_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_DMA_ADDR_LOW,4,2           ; @B43_DMA_ADDR_LOW
	.comm	_B43_DMA_ADDR_EXT,4,2           ; @B43_DMA_ADDR_EXT
	.comm	_B43_DMA32_DCTL_BYTECNT,4,2     ; @B43_DMA32_DCTL_BYTECNT
	.comm	_B43_DMA32_DCTL_DTABLEEND,4,2   ; @B43_DMA32_DCTL_DTABLEEND
	.comm	_B43_DMA32_DCTL_FRAMESTART,4,2  ; @B43_DMA32_DCTL_FRAMESTART
	.comm	_B43_DMA32_DCTL_FRAMEEND,4,2    ; @B43_DMA32_DCTL_FRAMEEND
	.comm	_B43_DMA32_DCTL_IRQ,4,2         ; @B43_DMA32_DCTL_IRQ
	.comm	_B43_DMA32_DCTL_ADDREXT_SHIFT,4,2 ; @B43_DMA32_DCTL_ADDREXT_SHIFT
	.comm	_B43_DMA32_DCTL_ADDREXT_MASK,4,2 ; @B43_DMA32_DCTL_ADDREXT_MASK
	.no_dead_strip	_op32_fill_descriptor
.subsections_via_symbols
