	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mib_if_admin                   ## -- Begin function mib_if_admin
	.p2align	4, 0x90
_mib_if_admin:                          ## @mib_if_admin
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_mib_netsock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SIOCGIFFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.3:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	orl	%eax, -32(%rbp)
	jmp	LBB0_6
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	notl	%eax
	andl	%eax, -32(%rbp)
LBB0_6:
	movl	(%r15), %edi
	movq	_SIOCSIFFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	callq	_mib_fetch_ifmib
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	callq	_syslog
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mib_netsock,4,2                ## @mib_netsock
	.comm	_SIOCGIFFLAGS,4,2               ## @SIOCGIFFLAGS
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SIOCGIFFLAGS(%s): %m"

	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_SIOCSIFFLAGS,4,2               ## @SIOCSIFFLAGS
L_.str.1:                               ## @.str.1
	.asciz	"SIOCSIFFLAGS(%s): %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mib_if_admin                   ; -- Begin function mib_if_admin
	.p2align	2
_mib_if_admin:                          ; @mib_if_admin
	.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	x20, x1
	mov	x19, x0
	ldr	w1, [x0]
	mov	w2, #4
	bl	_strlcpy
Lloh0:
	adrp	x21, _mib_netsock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mib_netsock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _SIOCGIFFLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIOCGIFFLAGS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w20, LBB0_4
; %bb.2:
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [sp, #8]
	ldr	w0, [x21]
Lloh13:
	adrp	x8, _SIOCSIFFLAGS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIOCSIFFLAGS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_mib_fetch_ifmib
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_syslog
	mov	w0, #-1
LBB0_9:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_mib_netsock,4,2                ; @mib_netsock
	.comm	_SIOCGIFFLAGS,4,2               ; @SIOCGIFFLAGS
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SIOCGIFFLAGS(%s): %m"

	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_SIOCSIFFLAGS,4,2               ; @SIOCSIFFLAGS
l_.str.1:                               ; @.str.1
	.asciz	"SIOCSIFFLAGS(%s): %m"

.subsections_via_symbols
