	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_handler
_sig_handler:                           ## @sig_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %edx
	movq	_expect_signal@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_verbose@GOTPCREL(%rip), %rbx
	testl	%esi, %esi
	jne	LBB0_6
## %bb.1:
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %eax
LBB0_3:
	testl	%eax, %eax
	jle	LBB0_5
## %bb.4:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
LBB0_5:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_6:
	movl	(%rbx), %eax
	cmpl	%edx, %esi
	jne	LBB0_7
## %bb.12:
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %eax
LBB0_14:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.15:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_16:
	movq	_PASSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_7:
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %eax
LBB0_9:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:
	leaq	L_str.6(%rip), %rdi
	callq	_puts
LBB0_11:
	movq	_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_expect_signal,4,2              ## @expect_signal
	.comm	_verbose,4,2                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received unexpected signal %d:\t"

	.comm	_FATAL,4,2                      ## @FATAL
L_.str.2:                               ## @.str.2
	.asciz	"Expected signal %d but got %d:\t"

	.comm	_FAILED,4,2                     ## @FAILED
L_.str.4:                               ## @.str.4
	.asciz	"Expected and got signal %d:\t"

	.comm	_PASSED,4,2                     ## @PASSED
L_str:                                  ## @str
	.asciz	"PASSED"

L_str.6:                                ## @str.6
	.asciz	"FAILED"

L_str.7:                                ## @str.7
	.asciz	"FATAL"

	.no_dead_strip	_sig_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_handler
_sig_handler:                           ; @sig_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _expect_signal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _expect_signal@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cbnz	w9, LBB0_6
; %bb.1:
Lloh3:
	adrp	x19, _verbose@GOTPAGE
Lloh4:
	ldr	x19, [x19, _verbose@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.le	LBB0_3
; %bb.2:
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
LBB0_3:
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_str.7@PAGE
Lloh8:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
LBB0_5:
Lloh9:
	adrp	x8, _FATAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_exit
LBB0_6:
Lloh12:
	adrp	x19, _verbose@GOTPAGE
Lloh13:
	ldr	x19, [x19, _verbose@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w9, w0
	b.ne	LBB0_12
; %bb.7:
	cmp	w8, #1
	b.le	LBB0_9
; %bb.8:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
LBB0_9:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.10:
Lloh16:
	adrp	x0, l_str@PAGE
Lloh17:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_11:
Lloh18:
	adrp	x8, _PASSED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PASSED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_exit
LBB0_12:
	cmp	w8, #1
	b.le	LBB0_14
; %bb.13:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	stp	x9, x0, [sp]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
LBB0_14:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.15:
Lloh23:
	adrp	x0, l_str.6@PAGE
Lloh24:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
LBB0_16:
Lloh25:
	adrp	x8, _FAILED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_expect_signal,4,2              ; @expect_signal
	.comm	_verbose,4,2                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received unexpected signal %d:\t"

	.comm	_FATAL,4,2                      ; @FATAL
l_.str.2:                               ; @.str.2
	.asciz	"Expected signal %d but got %d:\t"

	.comm	_FAILED,4,2                     ; @FAILED
l_.str.4:                               ; @.str.4
	.asciz	"Expected and got signal %d:\t"

	.comm	_PASSED,4,2                     ; @PASSED
l_str:                                  ; @str
	.asciz	"PASSED"

l_str.6:                                ; @str.6
	.asciz	"FAILED"

l_str.7:                                ; @str.7
	.asciz	"FATAL"

	.no_dead_strip	_sig_handler
.subsections_via_symbols
