	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_can_set_rfmon_bpf
_pcap_can_set_rfmon_bpf:                ## @pcap_can_set_rfmon_bpf
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	callq	_uname
	xorl	%ebx, %ebx
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	movq	-40(%rbp), %rax
	cmpb	$56, (%rax)
	jne	LBB0_7
## %bb.2:
	cmpb	$46, 1(%rax)
	jne	LBB0_7
## %bb.3:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	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_5
## %bb.6:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	8(%r14), %rsi
	addq	$2, %rsi
	movl	$4, %edx
	callq	_strlcat
	movq	_SIOCGIFFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	%r15d, %edi
	callq	_ioctl
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_close
	shrq	$63, %rbx
	xorl	$1, %ebx
	jmp	LBB0_7
LBB0_5:
	movl	(%r14), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"en"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"socket"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"wlt"

	.comm	_SIOCGIFFLAGS,4,2               ## @SIOCGIFFLAGS
	.comm	_BIOCSETIF,4,2                  ## @BIOCSETIF
	.comm	_DLT_NULL,4,2                   ## @DLT_NULL
	.comm	_PCAP_ERROR_IFACE_NOT_UP,4,2    ## @PCAP_ERROR_IFACE_NOT_UP
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ## @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ## @PCAP_ERROR_RFMON_NOTSUP
	.no_dead_strip	_pcap_can_set_rfmon_bpf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_can_set_rfmon_bpf
_pcap_can_set_rfmon_bpf:                ; @pcap_can_set_rfmon_bpf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	bl	_uname
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #56
	b.ne	LBB0_4
; %bb.2:
	ldrb	w8, [x8, #1]
	cmp	w8, #46
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh2:
	adrp	x8, _AF_INET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.7:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x19, #8]
	add	x1, x8, #2
	mov	w2, #4
	bl	_strlcat
Lloh10:
	adrp	x8, _SIOCGIFFLAGS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIOCGIFFLAGS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x20
	bl	_ioctl
	mov	x19, x0
	mov	x0, x20
	bl	_close
	lsr	x8, x19, #63
	eor	w0, w8, #0x1
	b	LBB0_5
LBB0_8:
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x3, l_.str.1@PAGE
Lloh20:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
Lloh21:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"en"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"socket"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"wlt"

	.comm	_SIOCGIFFLAGS,4,2               ; @SIOCGIFFLAGS
	.comm	_BIOCSETIF,4,2                  ; @BIOCSETIF
	.comm	_DLT_NULL,4,2                   ; @DLT_NULL
	.comm	_PCAP_ERROR_IFACE_NOT_UP,4,2    ; @PCAP_ERROR_IFACE_NOT_UP
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ; @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ; @PCAP_ERROR_RFMON_NOTSUP
	.no_dead_strip	_pcap_can_set_rfmon_bpf
.subsections_via_symbols
