	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_read_hold_mode_activity
_hci_read_hold_mode_activity:           ## @hci_read_hold_mode_activity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$8, -1068(%rbp)
	movq	_NG_HCI_OGF_HC_BASEBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-1064(%rbp), %rdx
	leaq	-1068(%rbp), %rcx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_hci_simple_request
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	movl	-1064(%rbp), %edi
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	testl	%edi, %edi
	je	LBB0_3
## %bb.2:
	callq	_hci_status2str
	movl	-1064(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movl	-1060(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_fprintf
	movslq	-1060(%rbp), %rdi
	movl	(%r14), %ebx
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	leaq	-1056(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_hci_hmode2str
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_HCI_OGF_HC_BASEBAND,4,2     ## @NG_HCI_OGF_HC_BASEBAND
	.comm	_NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY,4,2 ## @NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY
	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Status: %s [%#02x]\n"

	.comm	_FAILED,4,2                     ## @FAILED
L_.str.1:                               ## @.str.1
	.asciz	"Hold Mode Activities: %#02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Maintain current Power State"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_hci_read_hold_mode_activity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_read_hold_mode_activity
_hci_read_hold_mode_activity:           ; @hci_read_hold_mode_activity
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #1072
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w8, #8
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, _NG_HCI_OGF_HC_BASEBAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_HCI_OGF_HC_BASEBAND@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	add	x2, sp, #32
	add	x3, sp, #28
	mov	x0, x19
	bl	_hci_simple_request
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.1:
	ldr	w0, [sp, #32]
Lloh12:
	adrp	x20, _stdout@GOTPAGE
Lloh13:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w19, [x20]
	cbz	w0, LBB0_3
; %bb.2:
	bl	_hci_status2str
	ldr	w8, [sp, #32]
	stp	x0, x8, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh16:
	adrp	x8, _FAILED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ldr	w8, [sp, #36]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldrsw	x0, [sp, #36]
	ldr	w19, [x20]
	cbz	w0, LBB0_5
; %bb.4:
	add	x1, sp, #40
	mov	w2, #1024
	bl	_hci_hmode2str
	str	x0, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_fprintf
	ldr	w0, [x20]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh26:
	adrp	x8, _OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
                                        ; kill: def $w0 killed $w0 killed $x0
	add	sp, sp, #1072
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_HCI_OGF_HC_BASEBAND,4,2     ; @NG_HCI_OGF_HC_BASEBAND
	.comm	_NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY,4,2 ; @NG_HCI_OCF_READ_HOLD_MODE_ACTIVITY
	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Status: %s [%#02x]\n"

	.comm	_FAILED,4,2                     ; @FAILED
l_.str.1:                               ; @.str.1
	.asciz	"Hold Mode Activities: %#02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Maintain current Power State"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_hci_read_hold_mode_activity
.subsections_via_symbols
