	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_in_addr
_test_in_addr:                          ## @test_in_addr
	.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	%r9, %r15
	movl	%ecx, %r13d
	movq	%rsi, %rbx
	movl	%edi, %eax
	movl	16(%rbp), %edi
	movl	%edx, -64(%rbp)
	movl	%ecx, -56(%rbp)
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)
	movl	$4, -52(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movl	%eax, %r14d
	movl	%eax, %edx
	callq	_getsockopt
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %r12
	jne	LBB0_5
## %bb.3:
	movq	_WARN_SUCCESS@GOTPCREL(%rip), %rax
	movl	24(%rbp), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_warnx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	movq	%r15, %rdx
	movq	%rbx, %r12
	movq	%rbx, %rcx
	callq	_err
LBB0_5:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	movl	%r14d, %ebx
	je	LBB0_7
## %bb.6:
	movl	-48(%rbp), %edi
	callq	_inet_ntoa
	movl	%eax, %r14d
	movl	-64(%rbp), %edi
	callq	_inet_ntoa
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	callq	_errx
LBB0_7:
	movl	%r13d, -48(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movl	16(%rbp), %r13d
	movl	%r13d, %edi
	movl	%ebx, %edx
	movl	$4, %r8d
	callq	_setsockopt
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$-1, %eax
	movq	%r15, %r14
	jne	LBB0_12
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_err
	jmp	LBB0_12
LBB0_10:
	movq	_WARN_SUCCESS@GOTPCREL(%rip), %rax
	movl	24(%rbp), %ecx
	testl	%ecx, (%rax)
	movq	%r15, %r14
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_warnx
LBB0_12:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -48(%rbp)
	movl	$4, -52(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movl	%r13d, %edi
	movl	%ebx, %edx
	callq	_getsockopt
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	jne	LBB0_17
## %bb.15:
	movq	_WARN_SUCCESS@GOTPCREL(%rip), %rax
	movl	24(%rbp), %ecx
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_warnx
	jmp	LBB0_17
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_err
LBB0_17:
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	-48(%rbp), %edi
	callq	_inet_ntoa
	movl	%eax, %ebx
	movl	-56(%rbp), %edi
	callq	_inet_ntoa
	leaq	L_.str.5(%rip), %rsi
	movl	$-1, %edi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_errx
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s)"

	.comm	_WARN_SUCCESS,4,2               ## @WARN_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"WARN: getsockopt(%s, IPPROTO_IP, %s) returned 0"

L_.str.2:                               ## @.str.2
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s) default is %s not %s"

L_.str.3:                               ## @.str.3
	.asciz	"FAIL: setsockopt(%s, IPPROTO_IP, %s)"

L_.str.4:                               ## @.str.4
	.asciz	"WARN: setsockopt(%s, IPPROTO_IP, %s) returned 0"

L_.str.5:                               ## @.str.5
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s) set value is %s not %s"

	.no_dead_strip	_test_in_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_in_addr
_test_in_addr:                          ; @test_in_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x7
	mov	x22, x6
	mov	x19, x5
	mov	x24, x4
	mov	x25, x3
	mov	x20, x1
	mov	x23, x0
	str	w2, [sp, #24]
	str	w24, [sp, #8]
	mov	w8, #4
	stp	w8, w25, [sp, #12]
Lloh0:
	adrp	x27, _IPPROTO_IP@GOTPAGE
Lloh1:
	ldr	x27, [x27, _IPPROTO_IP@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x3, sp, #8
	add	x4, sp, #12
	mov	x0, x6
	mov	x2, x23
	bl	_getsockopt
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cbnz	w0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _WARN_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WARN_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	mov	x3, x20
	bl	_err
LBB0_5:
	add	x0, sp, #8
	add	x1, sp, #24
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [sp, #8]
	bl	_inet_ntoa
	mov	x26, x0
	ldr	w0, [sp, #24]
	bl	_inet_ntoa
	mov	x5, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	mov	x3, x20
	mov	x4, x26
	bl	_errx
LBB0_7:
	str	w25, [sp, #8]
	ldr	w1, [x27]
	add	x3, sp, #8
	mov	x0, x22
	mov	x2, x23
	mov	w4, #4
	bl	_setsockopt
	cbz	w0, LBB0_10
; %bb.8:
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.9:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_err
	b	LBB0_12
LBB0_10:
Lloh13:
	adrp	x8, _WARN_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WARN_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
LBB0_12:
	mov	w8, #4
	stp	w24, w8, [sp, #8]
	ldr	w1, [x27]
	add	x3, sp, #8
	add	x4, sp, #12
	mov	x0, x22
	mov	x2, x23
	bl	_getsockopt
	tbnz	w0, #31, LBB0_16
; %bb.13:
	cbnz	w0, LBB0_17
; %bb.14:
Lloh18:
	adrp	x8, _WARN_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WARN_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.15:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	mov	x3, x20
	bl	_err
LBB0_17:
	add	x0, sp, #8
	add	x1, sp, #16
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [sp, #8]
	bl	_inet_ntoa
	mov	x21, x0
	ldr	w0, [sp, #16]
	bl	_inet_ntoa
	mov	x5, x0
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	mov	x3, x20
	mov	x4, x21
	bl	_errx
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s)"

	.comm	_WARN_SUCCESS,4,2               ; @WARN_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"WARN: getsockopt(%s, IPPROTO_IP, %s) returned 0"

l_.str.2:                               ; @.str.2
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s) default is %s not %s"

l_.str.3:                               ; @.str.3
	.asciz	"FAIL: setsockopt(%s, IPPROTO_IP, %s)"

l_.str.4:                               ; @.str.4
	.asciz	"WARN: setsockopt(%s, IPPROTO_IP, %s) returned 0"

l_.str.5:                               ; @.str.5
	.asciz	"FAIL: getsockopt(%s, IPPROTO_IP, %s) set value is %s not %s"

	.no_dead_strip	_test_in_addr
.subsections_via_symbols
