	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_stats_linux
_bt_stats_linux:                        ## @bt_stats_linux
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_HCIGETDEVINFO@GOTPCREL(%rip), %r12
	leaq	-120(%rbp), %r15
	movq	_errno@GOTPCREL(%rip), %r13
	movq	_EINTR@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	movq	%r15, %rdx
	callq	_ioctl
	movq	(%r13), %rdx
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	(%r14), %rdx
	je	LBB0_1
LBB0_3:
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	-64(%rbp), %rax
	addq	-56(%rbp), %rax
	addq	-72(%rbp), %rax
	addq	-80(%rbp), %rax
	addq	-88(%rbp), %rax
	movdqu	-112(%rbp), %xmm0
	movdqu	-104(%rbp), %xmm1
	pinsrq	$1, %rax, %xmm0
	paddq	%xmm1, %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movdqu	%xmm0, 8(%rax)
	movq	$0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %eax
LBB0_6:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCIGETDEVINFO,4,2              ## @HCIGETDEVINFO
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get stats via ioctl"

	.no_dead_strip	_bt_stats_linux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_stats_linux
_bt_stats_linux:                        ; @bt_stats_linux
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh0:
	adrp	x21, _HCIGETDEVINFO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HCIGETDEVINFO@GOTPAGEOFF]
Lloh2:
	adrp	x22, _errno@GOTPAGE
Lloh3:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x23, _EINTR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EINTR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_ioctl
	ldr	x2, [x22]
	ldr	x8, [x23]
	cmn	w0, #1
	ccmp	x2, x8, #0, eq
	b.eq	LBB0_1
; %bb.2:
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x9, x8, [sp, #64]
	ldp	x11, x10, [sp, #48]
	add	x8, x9, x8
	add	x8, x8, x10
	ldp	x10, x9, [sp, #32]
	add	x8, x8, x11
	add	x8, x8, x9
	add	x8, x8, x10
	str	x8, [x19, #16]
	ldp	x9, x8, [sp, #16]
	add	x8, x9, x8
	stp	xzr, x8, [x19]
	b	LBB0_5
LBB0_4:
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HCIGETDEVINFO,4,2              ; @HCIGETDEVINFO
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get stats via ioctl"

	.no_dead_strip	_bt_stats_linux
.subsections_via_symbols
