	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_bluetooth
_show_bluetooth:                        ## @show_bluetooth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	$0, -12(%rbp)
	movq	_quirks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	-12(%rbp), %rsi
	xorl	%edi, %edi
	callq	_get_wireless_state
	testl	%eax, %eax
	js	LBB0_5
LBB0_4:
	movl	-12(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_get_wireless_state_ec_standard
	movq	_bluetooth_s@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -12(%rbp)
	testl	%eax, %eax
	jns	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_quirks,8,3                     ## @quirks
	.comm	_bluetooth_s,4,2                ## @bluetooth_s
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i\n"

	.no_dead_strip	_show_bluetooth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_bluetooth
_show_bluetooth:                        ; @show_bluetooth
	.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, x2
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _quirks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _quirks@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	add	x1, sp, #12
	mov	x0, #0
	bl	_get_wireless_state
	tbnz	w0, #31, LBB0_3
LBB0_2:
	ldr	w2, [sp, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	_get_wireless_state_ec_standard
Lloh5:
	adrp	x8, _bluetooth_s@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bluetooth_s@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	tbz	w0, #31, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_quirks,8,3                     ; @quirks
	.comm	_bluetooth_s,4,2                ; @bluetooth_s
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i\n"

	.no_dead_strip	_show_bluetooth
.subsections_via_symbols
