	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coda_command_async
_coda_command_async:                    ## @coda_command_async
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	32(%rdi), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_CODA_HX4@GOTPCREL(%rip), %rcx
	movq	_CODA_960@GOTPCREL(%rip), %r13
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_CODA_7541@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_3:
	movl	(%r15), %esi
	movq	_CODA_REG_BIT_BIT_STREAM_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movl	4(%r15), %r12d
	movl	28(%r15), %edi
	callq	_CODA_REG_BIT_FRM_DIS_FLG
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_coda_write
	movl	8(%r15), %esi
	movq	_CODA_REG_BIT_FRAME_MEM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movl	24(%r15), %esi
	movq	_CODA_REG_BIT_WORK_BUF_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
LBB0_4:
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.5:
	movq	_CODA9_GDI_WPROT_ERR_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_coda_write
	movq	_CODA9_GDI_WPROT_RGN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_coda_write
LBB0_6:
	movq	_CODA_REG_BIT_BUSY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CODA_REG_BIT_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movl	12(%r15), %esi
	movq	_CODA_REG_BIT_RUN_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movl	16(%r15), %esi
	movq	_CODA_REG_BIT_RUN_COD_STD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movl	20(%r15), %esi
	movq	_CODA7_REG_BIT_RUN_AUX_STD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_coda_write
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_trace_coda_bit_run
	movq	_CODA_REG_BIT_RUN_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_coda_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CODA_HX4,8,3                   ## @CODA_HX4
	.comm	_CODA_7541,8,3                  ## @CODA_7541
	.comm	_CODA_960,8,3                   ## @CODA_960
	.comm	_CODA_REG_BIT_BIT_STREAM_PARAM,4,2 ## @CODA_REG_BIT_BIT_STREAM_PARAM
	.comm	_CODA_REG_BIT_FRAME_MEM_CTRL,4,2 ## @CODA_REG_BIT_FRAME_MEM_CTRL
	.comm	_CODA_REG_BIT_WORK_BUF_ADDR,4,2 ## @CODA_REG_BIT_WORK_BUF_ADDR
	.comm	_CODA9_GDI_WPROT_ERR_CLR,4,2    ## @CODA9_GDI_WPROT_ERR_CLR
	.comm	_CODA9_GDI_WPROT_RGN_EN,4,2     ## @CODA9_GDI_WPROT_RGN_EN
	.comm	_CODA_REG_BIT_BUSY_FLAG,4,2     ## @CODA_REG_BIT_BUSY_FLAG
	.comm	_CODA_REG_BIT_BUSY,4,2          ## @CODA_REG_BIT_BUSY
	.comm	_CODA_REG_BIT_RUN_INDEX,4,2     ## @CODA_REG_BIT_RUN_INDEX
	.comm	_CODA_REG_BIT_RUN_COD_STD,4,2   ## @CODA_REG_BIT_RUN_COD_STD
	.comm	_CODA7_REG_BIT_RUN_AUX_STD,4,2  ## @CODA7_REG_BIT_RUN_AUX_STD
	.comm	_CODA_REG_BIT_RUN_COMMAND,4,2   ## @CODA_REG_BIT_RUN_COMMAND
	.no_dead_strip	_coda_command_async
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coda_command_async
_coda_command_async:                    ; @coda_command_async
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #32]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _CODA_HX4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CODA_HX4@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _CODA_7541@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CODA_7541@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x9]
Lloh6:
	adrp	x23, _CODA_960@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CODA_960@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x10
	ccmp	x8, x11, #4, ne
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _CODA_REG_BIT_BIT_STREAM_PARAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CODA_REG_BIT_BIT_STREAM_PARAM@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	w22, [x21, #4]
	ldr	w0, [x21, #28]
	bl	_CODA_REG_BIT_FRM_DIS_FLG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_coda_write
	ldr	w1, [x21, #8]
Lloh11:
	adrp	x8, _CODA_REG_BIT_FRAME_MEM_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CODA_REG_BIT_FRAME_MEM_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	w1, [x21, #24]
Lloh14:
	adrp	x8, _CODA_REG_BIT_WORK_BUF_ADDR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CODA_REG_BIT_WORK_BUF_ADDR@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x23]
LBB0_2:
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _CODA9_GDI_WPROT_ERR_CLR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CODA9_GDI_WPROT_ERR_CLR@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_coda_write
Lloh20:
	adrp	x8, _CODA9_GDI_WPROT_RGN_EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CODA9_GDI_WPROT_RGN_EN@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_coda_write
LBB0_4:
Lloh23:
	adrp	x8, _CODA_REG_BIT_BUSY_FLAG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CODA_REG_BIT_BUSY_FLAG@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _CODA_REG_BIT_BUSY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CODA_REG_BIT_BUSY@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	w1, [x21, #12]
Lloh29:
	adrp	x8, _CODA_REG_BIT_RUN_INDEX@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CODA_REG_BIT_RUN_INDEX@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	w1, [x21, #16]
Lloh32:
	adrp	x8, _CODA_REG_BIT_RUN_COD_STD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CODA_REG_BIT_RUN_COD_STD@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	ldr	w1, [x21, #20]
Lloh35:
	adrp	x8, _CODA7_REG_BIT_RUN_AUX_STD@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CODA7_REG_BIT_RUN_AUX_STD@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_coda_write
	mov	x0, x21
	mov	x1, x19
	bl	_trace_coda_bit_run
Lloh38:
	adrp	x8, _CODA_REG_BIT_RUN_COMMAND@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CODA_REG_BIT_RUN_COMMAND@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_coda_write
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CODA_HX4,8,3                   ; @CODA_HX4
	.comm	_CODA_7541,8,3                  ; @CODA_7541
	.comm	_CODA_960,8,3                   ; @CODA_960
	.comm	_CODA_REG_BIT_BIT_STREAM_PARAM,4,2 ; @CODA_REG_BIT_BIT_STREAM_PARAM
	.comm	_CODA_REG_BIT_FRAME_MEM_CTRL,4,2 ; @CODA_REG_BIT_FRAME_MEM_CTRL
	.comm	_CODA_REG_BIT_WORK_BUF_ADDR,4,2 ; @CODA_REG_BIT_WORK_BUF_ADDR
	.comm	_CODA9_GDI_WPROT_ERR_CLR,4,2    ; @CODA9_GDI_WPROT_ERR_CLR
	.comm	_CODA9_GDI_WPROT_RGN_EN,4,2     ; @CODA9_GDI_WPROT_RGN_EN
	.comm	_CODA_REG_BIT_BUSY_FLAG,4,2     ; @CODA_REG_BIT_BUSY_FLAG
	.comm	_CODA_REG_BIT_BUSY,4,2          ; @CODA_REG_BIT_BUSY
	.comm	_CODA_REG_BIT_RUN_INDEX,4,2     ; @CODA_REG_BIT_RUN_INDEX
	.comm	_CODA_REG_BIT_RUN_COD_STD,4,2   ; @CODA_REG_BIT_RUN_COD_STD
	.comm	_CODA7_REG_BIT_RUN_AUX_STD,4,2  ; @CODA7_REG_BIT_RUN_AUX_STD
	.comm	_CODA_REG_BIT_RUN_COMMAND,4,2   ; @CODA_REG_BIT_RUN_COMMAND
	.no_dead_strip	_coda_command_async
.subsections_via_symbols
