	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iface_Name                     ## -- Begin function iface_Name
	.p2align	4, 0x90
_iface_Name:                            ## @iface_Name
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_ID0socket
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.5:
	movl	%eax, %ebx
	movq	(%r12), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, -56(%rbp)
	movq	_SIOCSIFNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movl	%ebx, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ID0ioctl
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	(%r12), %rdi
	callq	_free
	movq	%r15, (%r12)
	movl	$1, %r13d
	jmp	LBB0_8
LBB0_1:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_8
LBB0_3:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movslq	%eax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_4
LBB0_6:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_4:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iface name: strdup failed: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_LogERROR,4,2                   ## @LogERROR
L_.str.1:                               ## @.str.1
	.asciz	"iface name: socket(): %s\n"

	.comm	_SIOCSIFNAME,4,2                ## @SIOCSIFNAME
L_.str.2:                               ## @.str.2
	.asciz	"iface name: ioctl(SIOCSIFNAME, %s -> %s): %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iface_Name                     ; -- Begin function iface_Name
	.p2align	2
_iface_Name:                            ; @iface_Name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_strdup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _PF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_ID0socket
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	mov	x22, x0
	ldr	x1, [x21]
	mov	w2, #4
	bl	_strlcpy
	str	x19, [sp, #16]
Lloh6:
	adrp	x8, _SIOCSIFNAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIOCSIFNAME@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x22
	bl	_ID0ioctl
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	x0, [x21]
	bl	_free
	str	x19, [x21]
	mov	w0, #1
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _LogWARN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_log_Printf
	b	LBB0_8
LBB0_5:
Lloh17:
	adrp	x8, _LogERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	b	LBB0_7
LBB0_6:
Lloh25:
	adrp	x8, _LogWARN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
Lloh28:
	adrp	x8, _errno@GOTPAGE
Lloh29:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
LBB0_7:
	bl	_log_Printf
	mov	x0, x19
	bl	_free
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iface name: strdup failed: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_LogERROR,4,2                   ; @LogERROR
l_.str.1:                               ; @.str.1
	.asciz	"iface name: socket(): %s\n"

	.comm	_SIOCSIFNAME,4,2                ; @SIOCSIFNAME
l_.str.2:                               ; @.str.2
	.asciz	"iface name: ioctl(SIOCSIFNAME, %s -> %s): %s\n"

.subsections_via_symbols
