	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_req
_sig_req:                               ## @sig_req
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	_REMOVE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %eax
	movl	%eax, 20(%rbx)
LBB0_4:
	movl	(%rbx), %esi
	movslq	4(%rbx), %rax
	cmpl	%eax, %esi
	jne	LBB0_5
## %bb.6:
	movslq	%esi, %rdx
	movq	8(%rbx), %rcx
	addl	$3, %esi
	movl	%esi, (%rbx)
	movq	$0, 16(%rcx,%rdx,8)
	jmp	LBB0_7
LBB0_5:
	movq	8(%rbx), %rcx
LBB0_7:
	leaq	(%rcx,%rax,8), %rdi
	subl	%eax, %esi
	addl	$-2, %esi
	callq	_PUT_WORD
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	%r15, (%rax,%rcx,8)
	movq	%r14, 8(%rax,%rcx,8)
	leal	3(%rcx), %edx
	movl	%edx, (%rbx)
	movq	$0, 16(%rax,%rcx,8)
	movl	%edx, 4(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sig_req(%x)"

	.comm	_REMOVE,8,3                     ## @REMOVE
	.no_dead_strip	_sig_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_req
_sig_req:                               ; @sig_req
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.2:
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
Lloh2:
	adrp	x8, _REMOVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REMOVE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #16]
	str	w8, [x19, #20]
LBB0_4:
	ldp	w8, w9, [x19]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	add	w11, w8, #2
	ldr	x10, [x19, #8]
	add	w8, w8, #3
	str	w8, [x19]
	str	xzr, [x10, w11, sxtw #3]
	b	LBB0_7
LBB0_6:
	ldr	x10, [x19, #8]
LBB0_7:
	add	x0, x10, x9, lsl #3
	sub	w8, w8, w9
	sub	w1, w8, #2
	bl	_PUT_WORD
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	x21, [x8, x9, lsl #3]
	str	x20, [x8, w10, sxtw #3]
	add	w10, w9, #2
	add	w9, w9, #3
	str	xzr, [x8, w10, sxtw #3]
	stp	w9, w9, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sig_req(%x)"

	.comm	_REMOVE,8,3                     ; @REMOVE
	.no_dead_strip	_sig_req
.subsections_via_symbols
