	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_aw_pt_bi
_get_aw_pt_bi:                          ## @get_aw_pt_bi
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	_get_aw_pt_bi.aw_pt_bi_addr(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_zd_ioread32v_locked
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_2:
	movq	-64(%rbp), %rax
	movq	%rax, 16(%r14)
	movdqu	-56(%rbp), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, (%r14)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @get_aw_pt_bi.aw_pt_bi_addr
_get_aw_pt_bi.aw_pt_bi_addr:
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	129                             ## 0x81

	.no_dead_strip	_get_aw_pt_bi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_aw_pt_bi
_get_aw_pt_bi:                          ; @get_aw_pt_bi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _get_aw_pt_bi.aw_pt_bi_addr@PAGE
Lloh4:
	add	x21, x21, _get_aw_pt_bi.aw_pt_bi_addr@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x1, sp
	mov	x0, x20
	mov	x2, x21
	bl	_zd_ioread32v_locked
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	b	LBB0_3
LBB0_2:
	ldp	x8, x9, [sp]
	stp	x9, x8, [x19, #8]
	ldr	x8, [sp, #16]
	str	x8, [x19]
LBB0_3:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @get_aw_pt_bi.aw_pt_bi_addr
_get_aw_pt_bi.aw_pt_bi_addr:
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	129                             ; 0x81

	.no_dead_strip	_get_aw_pt_bi
.subsections_via_symbols
