	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_setif_failure
_check_setif_failure:                   ## @check_setif_failure
	.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, %rbx
	movq	_ENXIO@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_10
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.2:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	movl	16(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movq	_PCAP_ERROR_NO_SUCH_DEVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_12
## %bb.11:
	movq	_PCAP_ERROR_IFACE_NOT_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movl	16(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	(%rbx), %r8
	leaq	L_.str.5(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	(%rbx), %rsi
	addq	$3, %rsi
	movl	$8, %edx
	callq	_strlcat
	movq	_SIOCGIFFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	_PCAP_ERROR_RFMON_NOTSUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_8:
	movq	_PCAP_ERROR_NO_SUCH_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%rbx), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_14
LBB0_5:
	movq	_PCAP_ERROR_NO_SUCH_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-32(%rbp), %r8
	leaq	L_.str.2(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
LBB0_7:
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlt"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
L_.str.1:                               ## @.str.1
	.asciz	"en"

	.comm	_SIOCGIFFLAGS,4,2               ## @SIOCGIFFLAGS
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ## @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,8,3                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"SIOCGIFFLAGS on %s failed"

	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ## @PCAP_ERROR_RFMON_NOTSUP
L_.str.3:                               ## @.str.3
	.asciz	"socket() failed"

L_.str.4:                               ## @.str.4
	.asciz	"BIOCSETIF failed"

	.comm	_ENETDOWN,8,3                   ## @ENETDOWN
	.comm	_PCAP_ERROR_IFACE_NOT_UP,4,2    ## @PCAP_ERROR_IFACE_NOT_UP
L_.str.5:                               ## @.str.5
	.asciz	"BIOCSETIF: %s"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
	.no_dead_strip	_check_setif_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_setif_failure
_check_setif_failure:                   ; @check_setif_failure
	.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	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_9
LBB0_3:
	ldr	w0, [x19, #16]
Lloh5:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh7:
	ldrsw	x1, [x8]
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
Lloh11:
	adrp	x3, l_.str.4@PAGE
Lloh12:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
Lloh13:
	adrp	x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
Lloh18:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.5:
Lloh21:
	adrp	x8, _PCAP_ERROR_IFACE_NOT_UP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCAP_ERROR_IFACE_NOT_UP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #16]
Lloh23:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh25:
	ldrsw	x1, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh26:
	adrp	x3, l_.str.5@PAGE
Lloh27:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
Lloh28:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
LBB0_8:
	mov	x0, x21
	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
LBB0_9:
Lloh30:
	adrp	x8, _AF_INET@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.10:
	mov	x20, x0
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_strlcpy
	ldr	x8, [x19]
	add	x1, x8, #3
	mov	w2, #8
	bl	_strlcat
Lloh38:
	adrp	x8, _SIOCGIFFLAGS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SIOCGIFFLAGS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ioctl
	tbnz	x0, #63, LBB0_13
; %bb.11:
Lloh41:
	adrp	x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGEOFF]
Lloh43:
	ldr	w21, [x8]
	b	LBB0_14
LBB0_12:
Lloh44:
	adrp	x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGEOFF]
Lloh46:
	ldr	w21, [x8]
	ldr	w0, [x19, #16]
Lloh47:
	adrp	x8, _errno@GOTPAGE
Lloh48:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh49:
	ldr	x1, [x8]
Lloh50:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh52:
	ldrsw	x2, [x8]
Lloh53:
	adrp	x3, l_.str.3@PAGE
Lloh54:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_8
LBB0_13:
Lloh55:
	adrp	x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGEOFF]
Lloh57:
	ldr	w21, [x8]
Lloh58:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
	ldr	w0, [x19, #16]
Lloh60:
	ldrsw	x1, [x8]
Lloh61:
	adrp	x8, _errno@GOTPAGE
Lloh62:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh63:
	ldr	x2, [x8]
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh64:
	adrp	x3, l_.str.2@PAGE
Lloh65:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
LBB0_14:
	mov	x0, x20
	bl	_close
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlt"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
l_.str.1:                               ; @.str.1
	.asciz	"en"

	.comm	_SIOCGIFFLAGS,4,2               ; @SIOCGIFFLAGS
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ; @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,8,3                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"SIOCGIFFLAGS on %s failed"

	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ; @PCAP_ERROR_RFMON_NOTSUP
l_.str.3:                               ; @.str.3
	.asciz	"socket() failed"

l_.str.4:                               ; @.str.4
	.asciz	"BIOCSETIF failed"

	.comm	_ENETDOWN,8,3                   ; @ENETDOWN
	.comm	_PCAP_ERROR_IFACE_NOT_UP,4,2    ; @PCAP_ERROR_IFACE_NOT_UP
l_.str.5:                               ; @.str.5
	.asciz	"BIOCSETIF: %s"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
	.no_dead_strip	_check_setif_failure
.subsections_via_symbols
