	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_type                     ## -- Begin function check_type
	.p2align	4, 0x90
_check_type:                            ## @check_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_ifname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	movq	_capture_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIOCGIFHWADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ioctl
	movq	-16(%rbp), %rcx
	movq	_ARPHRD_IEEE80211_RADIOTAP@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	sete	%sil
	testq	%rax, %rax
	movl	$-1, %eax
	cmovnsl	%esi, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifname,4,2                     ## @ifname
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_capture_sock,4,2               ## @capture_sock
	.comm	_SIOCGIFHWADDR,4,2              ## @SIOCGIFHWADDR
	.comm	_ARPHRD_IEEE80211_RADIOTAP,8,3  ## @ARPHRD_IEEE80211_RADIOTAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_type                     ; -- Begin function check_type
	.p2align	2
_check_type:                            ; @check_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _ifname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifname@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_strncpy
Lloh6:
	adrp	x8, _capture_sock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _capture_sock@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _SIOCGIFHWADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCGIFHWADDR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	ldr	x8, [sp]
Lloh12:
	adrp	x9, _ARPHRD_IEEE80211_RADIOTAP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ARPHRD_IEEE80211_RADIOTAP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	cmp	x0, #0
	csinv	w0, w8, wzr, ge
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ifname,4,2                     ; @ifname
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_capture_sock,4,2               ; @capture_sock
	.comm	_SIOCGIFHWADDR,4,2              ; @SIOCGIFHWADDR
	.comm	_ARPHRD_IEEE80211_RADIOTAP,8,3  ; @ARPHRD_IEEE80211_RADIOTAP
.subsections_via_symbols
