	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zd_iowrite32v_async_locked
__zd_iowrite32v_async_locked:           ## @_zd_iowrite32v_async_locked
	.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	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_USB_MAX_IOWRITE32_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	addl	%r13d, %r13d
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	callq	_mutex_is_locked
	movl	%eax, %edi
	callq	_ZD_ASSERT
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	_USB_MAX_IOWRITE32_COUNT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jae	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	leal	(%r12,%r12), %eax
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	movl	%eax, %r13d
	seta	%dil
	callq	_BUG_ON
	movl	%r12d, %r12d
	shlq	$3, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movswl	2(%r15,%rbx), %eax
	movl	%eax, (%r14,%rbx,2)
	movl	4(%r15,%rbx), %edi
	callq	_inc_addr
	movl	%eax, 4(%r14,%rbx,2)
	movl	(%r15,%rbx), %eax
	movl	%eax, 8(%r14,%rbx,2)
	movl	4(%r15,%rbx), %eax
	movl	%eax, 12(%r14,%rbx,2)
	addq	$8, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_zd_usb_iowrite16v_async
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_MAX_IOWRITE32_COUNT,4,2    ## @USB_MAX_IOWRITE32_COUNT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__zd_iowrite32v_async_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zd_iowrite32v_async_locked
__zd_iowrite32v_async_locked:           ; @_zd_iowrite32v_async_locked
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x22, _USB_MAX_IOWRITE32_COUNT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _USB_MAX_IOWRITE32_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	w24, w8, #1
	lsl	x8, x24, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x8
	mov	sp, x21
	add	x0, x0, #4
	bl	_mutex_is_locked
	bl	_ZD_ASSERT
	cbz	w23, LBB0_3
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, w23
	b.hs	LBB0_4
; %bb.2:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	lsl	w22, w23, #1
	cmp	w22, w24
	cset	w0, hi
	bl	_BUG_ON
	mov	x24, #0
	mov	w8, w23
	lsl	x23, x8, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsh	w8, [x20, #2]
	add	x25, x21, x24
	str	w8, [x25]
	ldr	w0, [x20, #4]
	bl	_inc_addr
	str	w0, [x25, #4]
	ldr	d0, [x20], #8
	str	d0, [x25, #8]
	add	x24, x24, #16
	cmp	x23, x24
	b.ne	LBB0_5
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_zd_usb_iowrite16v_async
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_MAX_IOWRITE32_COUNT,4,2    ; @USB_MAX_IOWRITE32_COUNT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__zd_iowrite32v_async_locked
.subsections_via_symbols
