	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	leaq	-64(%rbp), %rbx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_test_kputw
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_test_kputw
	movq	%rbx, %rdi
	movl	$37, %esi
	callq	_test_kputw
	movq	%rbx, %rdi
	movl	$12345, %esi                    ## imm = 0x3039
	callq	_test_kputw
	movq	%rbx, %rdi
	movl	$-12345, %esi                   ## imm = 0xCFC7
	callq	_test_kputw
	movq	_INT_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_test_kputw
	xorl	%esi, %esi
	subl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_test_kputw
	movq	_INT_MIN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_test_kputw
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_test_kputl
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_test_kputl
	movq	%rbx, %rdi
	movl	$37, %esi
	callq	_test_kputl
	movq	%rbx, %rdi
	movl	$12345, %esi                    ## imm = 0x3039
	callq	_test_kputl
	movq	%rbx, %rdi
	movl	$-12345, %esi                   ## imm = 0xCFC7
	callq	_test_kputl
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_test_kputl
	xorl	%esi, %esi
	subl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_test_kputl
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_test_kputl
	movq	_LONG_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_test_kputl
	subl	(%r15), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_test_kputl
	movq	_LONG_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_test_kputl
	movq	-64(%rbp), %rdi
	callq	_free
	movq	_nfail@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jle	LBB0_1
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_INT_MIN,4,2                    ## @INT_MIN
	.comm	_LONG_MAX,4,2                   ## @LONG_MAX
	.comm	_LONG_MIN,4,2                   ## @LONG_MIN
	.comm	_nfail,8,3                      ## @nfail
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Total failures: %d\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	add	x0, sp, #8
	mov	w1, #0
	bl	_test_kputw
	add	x0, sp, #8
	mov	w1, #1
	bl	_test_kputw
	add	x0, sp, #8
	mov	w1, #37
	bl	_test_kputw
	add	x0, sp, #8
	mov	w1, #12345
	bl	_test_kputw
	add	x0, sp, #8
	mov	w1, #-12345
	bl	_test_kputw
Lloh0:
	adrp	x19, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x19, [x19, _INT_MAX@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_test_kputw
	ldr	w8, [x19]
	neg	w1, w8
	add	x0, sp, #8
	bl	_test_kputw
Lloh2:
	adrp	x20, _INT_MIN@GOTPAGE
Lloh3:
	ldr	x20, [x20, _INT_MIN@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_test_kputw
	add	x0, sp, #8
	mov	w1, #0
	bl	_test_kputl
	add	x0, sp, #8
	mov	w1, #1
	bl	_test_kputl
	add	x0, sp, #8
	mov	w1, #37
	bl	_test_kputl
	add	x0, sp, #8
	mov	w1, #12345
	bl	_test_kputl
	add	x0, sp, #8
	mov	w1, #-12345
	bl	_test_kputl
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_test_kputl
	ldr	w8, [x19]
	neg	w1, w8
	add	x0, sp, #8
	bl	_test_kputl
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_test_kputl
Lloh4:
	adrp	x19, _LONG_MAX@GOTPAGE
Lloh5:
	ldr	x19, [x19, _LONG_MAX@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_test_kputl
	ldr	w8, [x19]
	neg	w1, w8
	add	x0, sp, #8
	bl	_test_kputl
Lloh6:
	adrp	x8, _LONG_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LONG_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_test_kputl
	ldr	x0, [sp, #8]
	bl	_free
Lloh9:
	adrp	x8, _nfail@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nfail@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	cmp	x2, #1
	b.lt	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh17:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_INT_MIN,4,2                    ; @INT_MIN
	.comm	_LONG_MAX,4,2                   ; @LONG_MAX
	.comm	_LONG_MIN,4,2                   ; @LONG_MIN
	.comm	_nfail,8,3                      ; @nfail
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Total failures: %d\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
