	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_debug_print   ## -- Begin function ath10k_wmi_event_debug_print
	.p2align	4, 0x90
_ath10k_wmi_event_debug_print:          ## @ath10k_wmi_event_debug_print
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$46, %r13b
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	%r13b, -160(%rbp,%rbx)
	incq	%rbx
	cmpq	$100, %rbx
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movzbl	(%rax,%rbx), %r13d
	testb	%r13b, %r13b
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%r13b, %r12d
	movl	%r12d, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %edi
	callq	_isprint
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_5
LBB0_7:
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ath10k_warn
	movl	$100, %ebx
LBB0_8:
	movq	8(%r15), %rax
	movslq	%ebx, %rcx
	leaq	-1(%rcx), %rdx
	cmpb	$10, -1(%rax,%rcx)
	cmovel	%edx, %ecx
	movslq	%ecx, %rax
	movb	$0, -160(%rbp,%rax)
	movq	_ATH10K_DBG_WMI_PRINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	leaq	-160(%rbp), %rcx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi debug print truncated: %d\n"

	.comm	_ATH10K_DBG_WMI_PRINT,4,2       ## @ATH10K_DBG_WMI_PRINT
L_.str.1:                               ## @.str.1
	.asciz	"wmi print '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_debug_print   ; -- Begin function ath10k_wmi_event_debug_print
	.p2align	2
_ath10k_wmi_event_debug_print:          ; @ath10k_wmi_event_debug_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x1
	mov	x19, x0
	mov	x22, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x23, sp, #3
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #46
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w24, [x23, x22]
	add	x22, x22, #1
	cmp	x22, #100
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldrb	w24, [x8, x22]
	cbz	w24, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w21, w24
	mov	x0, x21
	bl	_isascii
	cbz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_isprint
	cbnz	x0, LBB0_2
	b	LBB0_1
LBB0_7:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_9
LBB0_8:
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_9:
	ldr	x8, [x20, #8]
	sxtw	x9, w22
	sub	x9, x9, #1
	ldrb	w8, [x8, x9]
	cmp	w8, #10
	csel	w8, w9, w22, eq
	add	x9, sp, #3
	strb	wzr, [x9, w8, sxtw]
Lloh5:
	adrp	x8, _ATH10K_DBG_WMI_PRINT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_DBG_WMI_PRINT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x3, sp, #3
	mov	x0, x19
	bl	_ath10k_dbg
	ldur	x8, [x29, #-56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi debug print truncated: %d\n"

	.comm	_ATH10K_DBG_WMI_PRINT,4,2       ; @ATH10K_DBG_WMI_PRINT
l_.str.1:                               ; @.str.1
	.asciz	"wmi print '%s'\n"

.subsections_via_symbols
