	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qec_get_burst
_qec_get_burst:                         ## @qec_get_burst
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rsi
	movl	$255, %edx
	callq	_of_getintprop_default
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	movl	$255, %edx
	callq	_of_getintprop_default
	cmpl	$255, %eax
	movl	$-1, %ecx
	cmovnel	%eax, %ecx
	andl	%r15d, %ecx
	movzbl	%cl, %eax
	cmpl	$255, %eax
	je	LBB0_3
## %bb.1:
	movq	_DMA_BURST16@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_DMA_BURST32@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
LBB0_3:
	movq	_DMA_BURST32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"burst-sizes"

	.comm	_DMA_BURST16,4,2                ## @DMA_BURST16
	.comm	_DMA_BURST32,4,2                ## @DMA_BURST32
	.no_dead_strip	_qec_get_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qec_get_burst
_qec_get_burst:                         ; @qec_get_burst
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #255
	bl	_of_getintprop_default
	mov	x21, x0
	ldr	x0, [x19]
	mov	x1, x20
	mov	w2, #255
	bl	_of_getintprop_default
	cmp	w0, #255
	csinv	w8, w0, wzr, ne
	and	w8, w21, w8
	and	w0, w8, #0xff
Lloh2:
	adrp	x8, _DMA_BURST32@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_BURST32@GOTPAGEOFF]
	cmp	w0, #255
	b.eq	LBB0_3
; %bb.1:
Lloh4:
	adrp	x9, _DMA_BURST16@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DMA_BURST16@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x8]
	tst	w9, w0
	b.ne	LBB0_4
LBB0_3:
	ldr	w8, [x8]
	sub	w0, w8, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"burst-sizes"

	.comm	_DMA_BURST16,4,2                ; @DMA_BURST16
	.comm	_DMA_BURST32,4,2                ; @DMA_BURST32
	.no_dead_strip	_qec_get_burst
.subsections_via_symbols
