	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetIpAddr                      ## -- Begin function GetIpAddr
	.p2align	4, 0x90
_GetIpAddr:                             ## @GetIpAddr
	.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
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_inet_aton
	testq	%rax, %rax
	jne	LBB0_14
## %bb.3:
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_9
## %bb.4:
	leaq	L_.str.1(%rip), %r14
	movq	%r15, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isalnum
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movsbl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	cmpb	$0, (%rbx)
	jne	LBB0_12
LBB0_9:
	movq	%r15, %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	(%rax), %rcx
	movq	_AF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.11:
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_memcpy
	jmp	LBB0_14
LBB0_1:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_INADDR_NONE@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
LBB0_14:
	movq	-32(%rbp), %rax
	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	"default"

	.comm	_INADDR_ANY,8,3                 ## @INADDR_ANY
L_.str.1:                               ## @.str.1
	.asciz	"-."

	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INADDR_NONE,8,3                ## @INADDR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetIpAddr                      ; -- Begin function GetIpAddr
	.p2align	2
_GetIpAddr:                             ; @GetIpAddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_11
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_inet_aton
	cbnz	x0, LBB0_14
; %bb.2:
	ldrb	w8, [x19]
	cbz	w8, LBB0_8
; %bb.3:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x21, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isalnum
	cbnz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w1, [x21]
	mov	x0, x20
	bl	_strchr
	cbnz	x0, LBB0_4
; %bb.7:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_12
LBB0_8:
	mov	x0, x19
	bl	_gethostbyname
	cbz	x0, LBB0_12
; %bb.9:
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _AF_INET@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	ldp	w2, w1, [x0, #8]
	add	x0, sp, #8
	bl	_memcpy
	b	LBB0_14
LBB0_11:
Lloh7:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh9:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [sp, #8]
LBB0_14:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default"

	.comm	_INADDR_ANY,8,3                 ; @INADDR_ANY
l_.str.1:                               ; @.str.1
	.asciz	"-."

	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INADDR_NONE,8,3                ; @INADDR_NONE
.subsections_via_symbols
