	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_addr_tests
_ip_addr_tests:                         ## @ip_addr_tests
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.1(%rip), %rdi
	leaq	-152(%rbp), %rsi
	callq	_hostapd_parse_ip_addr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	-152(%rbp), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	leaq	-144(%rbp), %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	$100, %edx
	callq	_hostapd_ip_txt
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movl	$2, %ebx
	movb	$1, %r15b
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	leaq	-152(%rbp), %rsi
	callq	_hostapd_parse_ip_addr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	-152(%rbp), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.11:
	leaq	-152(%rbp), %rdi
	leaq	-144(%rbp), %r14
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_hostapd_ip_txt
	cmpq	%r14, %rax
	jne	LBB0_14
## %bb.12:
	cmpb	$0, -144(%rbp)
	jne	LBB0_14
## %bb.13:
	leaq	-152(%rbp), %rdi
	movq	%r14, %rsi
	movl	$100, %edx
	callq	_hostapd_ip_txt
	cmpq	%r14, %rax
	movl	$1, %eax
	cmovel	%eax, %ebx
	setne	%al
	orb	%al, %r15b
	xorl	%eax, %eax
	cmpb	$1, %r15b
	jne	LBB0_15
LBB0_14:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	-152(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hostapd_ip_txt
	cmpq	%rbx, %rax
	jne	LBB0_8
## %bb.4:
	cmpb	$0, -144(%rbp)
	jne	LBB0_8
## %bb.5:
	leaq	-152(%rbp), %rdi
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hostapd_ip_txt
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	leaq	-152(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$100, %edx
	callq	_hostapd_ip_txt
	cmpq	%rbx, %rax
	jne	LBB0_8
## %bb.7:
	movl	$1, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ip_addr tests"

L_.str.1:                               ## @.str.1
	.asciz	"1.2.3.4"

	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.2:                               ## @.str.2
	.asciz	"::"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"%d ip_addr test(s) failed"

	.no_dead_strip	_ip_addr_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_addr_tests
_ip_addr_tests:                         ; @ip_addr_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_hostapd_parse_ip_addr
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
Lloh10:
	adrp	x9, _AF_INET@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x19, sp, #20
	add	x1, sp, #20
	mov	x0, #0
	mov	w2, #100
	bl	_hostapd_ip_txt
	cbz	x0, LBB0_12
LBB0_3:
	mov	w19, #2
	mov	w20, #1
LBB0_4:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #8
	bl	_hostapd_parse_ip_addr
	cbnz	x0, LBB0_9
; %bb.5:
	ldr	x8, [sp, #8]
Lloh15:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	add	x21, sp, #20
	add	x0, sp, #8
	add	x1, sp, #20
	mov	w2, #1
	bl	_hostapd_ip_txt
	cmp	x0, x21
	b.ne	LBB0_9
; %bb.7:
	ldrb	w8, [sp, #20]
	cbnz	w8, LBB0_9
; %bb.8:
	add	x21, sp, #20
	add	x0, sp, #8
	add	x1, sp, #20
	mov	w2, #100
	bl	_hostapd_ip_txt
	cmp	x0, x21
	cset	w8, ne
	orr	w8, w20, w8
	csinc	w19, w19, wzr, ne
	cmp	w8, #1
	b.ne	LBB0_17
LBB0_9:
Lloh18:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.11:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
	add	x0, sp, #8
	add	x1, sp, #20
	mov	w2, #1
	bl	_hostapd_ip_txt
	cmp	x0, x19
	b.ne	LBB0_3
; %bb.13:
	ldrb	w8, [sp, #20]
	cbnz	w8, LBB0_3
; %bb.14:
	add	x19, sp, #20
	add	x0, sp, #8
	add	x1, sp, #20
	mov	w2, #0
	bl	_hostapd_ip_txt
	cbnz	x0, LBB0_3
; %bb.15:
	add	x0, sp, #8
	add	x1, sp, #20
	mov	w2, #100
	bl	_hostapd_ip_txt
	cmp	x0, x19
	b.ne	LBB0_3
; %bb.16:
	mov	w20, #0
	mov	w19, #1
	b	LBB0_4
LBB0_17:
	mov	w0, #0
	b	LBB0_10
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ip_addr tests"

l_.str.1:                               ; @.str.1
	.asciz	"1.2.3.4"

	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.2:                               ; @.str.2
	.asciz	"::"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"%d ip_addr test(s) failed"

	.no_dead_strip	_ip_addr_tests
.subsections_via_symbols
