	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_fill_response               ## -- Begin function fw_fill_response
	.p2align	4, 0x90
_fw_fill_response:                      ## @fw_fill_response
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rsi), %edi
	callq	_HEADER_GET_TCODE
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_HEADER_GET_TLABEL
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_HEADER_GET_DESTINATION
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %edi
	callq	_HEADER_GET_SOURCE
	movl	%eax, %r15d
	movl	12(%rbx), %edi
	callq	_HEADER_GET_EXTENDED_TCODE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_RETRY_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HEADER_RETRY
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_HEADER_TLABEL
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_HEADER_DESTINATION
	orl	%ebx, %eax
	orl	%r12d, %eax
	movq	(%r13), %rcx
	movl	%eax, (%rcx)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_HEADER_SOURCE
	movl	%eax, %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_HEADER_RCODE
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	orl	%ebx, %eax
	movq	(%r13), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, 8(%rcx)
	leal	-128(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_3
## %bb.1:
	leal	-131(%rdx), %eax
	cmpl	$2, %eax
	jae	LBB0_4
## %bb.2:
	addl	$2, %edx
	movl	%edx, %edi
	callq	_HEADER_TCODE
	movq	(%r13), %rcx
	orl	%eax, (%rcx)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_HEADER_DATA_LENGTH
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_HEADER_EXTENDED_TCODE
	orl	%r14d, %eax
	movq	(%r13), %rcx
	movl	%eax, 12(%rcx)
	movl	$16, 8(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r13)
	movq	%rbx, 16(%r13)
	jmp	LBB0_11
LBB0_3:
	movq	_TCODE_WRITE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HEADER_TCODE
	movq	(%r13), %rcx
	orl	%eax, (%rcx)
	movl	$12, 8(%r13)
	jmp	LBB0_10
LBB0_4:
	cmpl	$130, %edx
	jne	LBB0_7
## %bb.5:
	movq	_TCODE_READ_QUADLET_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HEADER_TCODE
	movq	(%r13), %rcx
	orl	%eax, (%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_WARN
	jmp	LBB0_11
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	movl	%eax, 12(%rcx)
	movl	$16, 8(%r13)
LBB0_10:
	movq	$0, 16(%r13)
LBB0_11:
	movl	$0, 24(%r13)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRY_1,4,2                    ## @RETRY_1
	.comm	_TCODE_WRITE_RESPONSE,4,2       ## @TCODE_WRITE_RESPONSE
	.comm	_TCODE_READ_QUADLET_RESPONSE,4,2 ## @TCODE_READ_QUADLET_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong tcode %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_fill_response               ; -- Begin function fw_fill_response
	.p2align	2
_fw_fill_response:                      ; @fw_fill_response
	.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	x21, x4
	mov	x20, x3
	mov	x24, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_HEADER_GET_TCODE
	mov	x22, x0
	ldr	w0, [x23]
	bl	_HEADER_GET_TLABEL
	mov	x25, x0
	ldr	w0, [x23]
	bl	_HEADER_GET_DESTINATION
	mov	x26, x0
	ldr	w0, [x23, #4]
	bl	_HEADER_GET_SOURCE
	mov	x27, x0
	ldr	w0, [x23, #12]
	bl	_HEADER_GET_EXTENDED_TCODE
	mov	x23, x0
Lloh0:
	adrp	x8, _RETRY_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRY_1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_HEADER_RETRY
	mov	x28, x0
	mov	x0, x25
	bl	_HEADER_TLABEL
	orr	w25, w0, w28
	mov	x0, x27
	bl	_HEADER_DESTINATION
	orr	w8, w25, w0
	ldr	x9, [x19]
	str	w8, [x9]
	mov	x0, x26
	bl	_HEADER_SOURCE
	mov	x25, x0
	mov	x0, x24
	bl	_HEADER_RCODE
	orr	w8, w0, w25
	ldr	x9, [x19]
	stp	w8, wzr, [x9, #4]
	sub	w8, w22, #128
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w22, #131
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.2:
	add	w0, w22, #2
	bl	_HEADER_TCODE
	ldr	x8, [x19]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	mov	x0, x21
	bl	_HEADER_DATA_LENGTH
	mov	x22, x0
	mov	x0, x23
	bl	_HEADER_EXTENDED_TCODE
	ldr	x8, [x19]
	orr	w9, w0, w22
	str	w9, [x8, #12]
	mov	w8, #16
	str	w8, [x19, #8]
	str	x20, [x19, #32]
	str	x21, [x19, #16]
	b	LBB0_11
LBB0_3:
Lloh3:
	adrp	x8, _TCODE_WRITE_RESPONSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCODE_WRITE_RESPONSE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_HEADER_TCODE
	ldr	x8, [x19]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	mov	w8, #12
	b	LBB0_10
LBB0_4:
	cmp	w22, #130
	b.ne	LBB0_7
; %bb.5:
Lloh6:
	adrp	x8, _TCODE_READ_QUADLET_RESPONSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCODE_READ_QUADLET_RESPONSE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_HEADER_TCODE
	ldr	x8, [x19]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	cbz	x20, LBB0_8
; %bb.6:
	ldr	w9, [x20]
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x22
	bl	_WARN
	b	LBB0_11
LBB0_8:
	mov	w9, #0
LBB0_9:
	str	w9, [x8, #12]
	mov	w8, #16
LBB0_10:
	str	w8, [x19, #8]
	str	xzr, [x19, #16]
LBB0_11:
	str	wzr, [x19, #24]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RETRY_1,4,2                    ; @RETRY_1
	.comm	_TCODE_WRITE_RESPONSE,4,2       ; @TCODE_WRITE_RESPONSE
	.comm	_TCODE_READ_QUADLET_RESPONSE,4,2 ; @TCODE_READ_QUADLET_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong tcode %d\n"

.subsections_via_symbols
