	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwctl_response
_fwctl_response:                        ## @fwctl_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_rinfo@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpq	$3, %rax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	4(%rbx), %edi
	movl	$4, %esi
	callq	_roundup
	addl	$16, %eax
	jmp	LBB0_4
LBB0_3:
	movl	32(%rbx), %eax
	jmp	LBB0_4
LBB0_5:
	movl	28(%rbx), %eax
	jmp	LBB0_4
LBB0_6:
	movl	24(%rbx), %eax
LBB0_4:
	movl	%eax, (%r14)
	movl	(%rbx), %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
LBB0_13:
	xorl	%eax, %eax
	cmpl	$4, %ecx
	jl	LBB0_16
## %bb.14:
	movl	8(%rbx), %ecx
	cmpl	4(%rbx), %ecx
	jl	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_fwctl_response_done
	movl	$1, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	4(%rbx), %eax
	movslq	8(%rbx), %rcx
	movl	%eax, %esi
	subl	%ecx, %esi
	movq	16(%rbx), %rdx
	movq	%rcx, %rdi
	shlq	$2, %rdi
	addq	(%rdx), %rdi
	cmpl	$4, %esi
	jb	LBB0_9
## %bb.8:
	movl	(%rdi), %eax
	jmp	LBB0_11
LBB0_9:
	cmpl	%ecx, %eax
	je	LBB0_12
## %bb.10:
	callq	_fwctl_send_rest
LBB0_11:
	movl	%eax, (%r14)
LBB0_12:
	addl	$4, 8(%rbx)
	movl	(%rbx), %ecx
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_rinfo,40,3                     ## @rinfo
	.no_dead_strip	_fwctl_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwctl_response
_fwctl_response:                        ; @fwctl_response
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _rinfo@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rinfo@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x20, #4]
	mov	w1, #4
	bl	_roundup
	add	w8, w0, #16
	b	LBB0_6
LBB0_3:
	ldr	w8, [x20, #32]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20, #28]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x20, #24]
LBB0_6:
	str	w8, [x19]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	cmp	w8, #4
	b.lt	LBB0_15
LBB0_7:
	ldp	w9, w8, [x20, #4]
	cmp	w8, w9
	b.lt	LBB0_15
; %bb.8:
	bl	_fwctl_response_done
	mov	w0, #1
	b	LBB0_16
LBB0_9:
	ldp	w8, w9, [x20, #4]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	sub	w1, w8, w9
	ldr	x10, [x20, #16]
	ldr	x10, [x10]
	add	x0, x10, x9, lsl #2
	cmp	w1, #4
	b.lo	LBB0_11
; %bb.10:
	ldr	w0, [x0]
	b	LBB0_13
LBB0_11:
	cmp	w8, w9
	b.eq	LBB0_14
; %bb.12:
	bl	_fwctl_send_rest
LBB0_13:
	str	w0, [x19]
LBB0_14:
	ldr	w8, [x20, #8]
	add	w8, w8, #4
	str	w8, [x20, #8]
	ldr	w8, [x20]
	cmp	w8, #4
	b.ge	LBB0_7
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_rinfo,40,3                     ; @rinfo
	.no_dead_strip	_fwctl_response
.subsections_via_symbols
