	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ifconfig_inet
_ifconfig_inet:                         ## @ifconfig_inet
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	movl	$12, %esi
	callq	_bzero
	movl	-48(%rbp), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	_snprintf
	movq	_AF_INET@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -36(%rbp)
	movl	$4, -52(%rbp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_inet_addr
	movq	(%r14), %rax
	movq	%rax, -40(%rbp)
	movl	$4, -56(%rbp)
	movq	%r13, %rdi
	callq	_inet_addr
	movq	%rax, -48(%rbp)
	movq	_SIOCAIFADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	leaq	-56(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movl	%ebx, %edi
	callq	_close
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_warn
	movl	%ebx, %edi
	callq	_close
LBB0_5:
	movl	$-1, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifconfig_inet: socket(PF_INET, SOCK_RAW, 0)"

L_.str.1:                               ## @.str.1
	.asciz	"%s%d"

	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_SIOCAIFADDR,4,2                ## @SIOCAIFADDR
L_.str.2:                               ## @.str.2
	.asciz	"ifconfig_inet: ioctl(%s%d, SIOCAIFADDR, %s)"

	.no_dead_strip	_ifconfig_inet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ifconfig_inet
_ifconfig_inet:                         ; @ifconfig_inet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x22, x0
	add	x0, sp, #32
	mov	w1, #12
	bl	_bzero
	ldr	w0, [sp, #40]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x3, x19
	mov	x4, x20
	bl	_snprintf
Lloh8:
	adrp	x24, _AF_INET@GOTPAGE
Lloh9:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
	ldr	x8, [x24]
	stur	x8, [sp, #52]
	mov	x0, x21
	bl	_inet_addr
	ldr	x8, [x24]
	str	x8, [sp, #48]
	movi.2s	v0, #4
	str	d0, [sp, #32]
	mov	x0, x23
	bl	_inet_addr
	str	x0, [sp, #40]
Lloh10:
	adrp	x8, _SIOCAIFADDR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIOCAIFADDR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x22
	bl	_ioctl
	tbnz	x0, #63, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_close
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_5
LBB0_4:
	stp	x20, x21, [sp, #8]
	str	x19, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	mov	x0, x22
	bl	_close
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifconfig_inet: socket(PF_INET, SOCK_RAW, 0)"

l_.str.1:                               ; @.str.1
	.asciz	"%s%d"

	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_SIOCAIFADDR,4,2                ; @SIOCAIFADDR
l_.str.2:                               ; @.str.2
	.asciz	"ifconfig_inet: ioctl(%s%d, SIOCAIFADDR, %s)"

	.no_dead_strip	_ifconfig_inet
.subsections_via_symbols
