	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwicap_get_configuration_register
_hwicap_get_configuration_register:     ## @hwicap_get_configuration_register
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_XHI_DUMMY_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_XHI_NOOP_PACKET@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -60(%rbp)
	movq	_XHI_SYNC_PACKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movl	%eax, -52(%rbp)
	movl	%eax, -48(%rbp)
	movq	(%rdi), %rax
	leaq	-64(%rbp), %rsi
	movl	$5, %edx
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	_XHI_SR_DALIGN_MASK@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.3:
	movl	%r15d, %edi
	callq	_hwicap_type_1_read
	orl	$1, %eax
	movl	%eax, -64(%rbp)
	movl	(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	%eax, -56(%rbp)
	movq	(%rbx), %rax
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	*16(%rax)
	jmp	LBB0_5
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XHI_DUMMY_PACKET,4,2           ## @XHI_DUMMY_PACKET
	.comm	_XHI_NOOP_PACKET,4,2            ## @XHI_NOOP_PACKET
	.comm	_XHI_SYNC_PACKET,4,2            ## @XHI_SYNC_PACKET
	.comm	_XHI_SR_DALIGN_MASK,4,2         ## @XHI_SR_DALIGN_MASK
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_hwicap_get_configuration_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwicap_get_configuration_register
_hwicap_get_configuration_register:     ; @hwicap_get_configuration_register
	.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, x2
	mov	x21, 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	x8, _XHI_DUMMY_PACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XHI_DUMMY_PACKET@GOTPAGEOFF]
Lloh5:
	adrp	x22, _XHI_NOOP_PACKET@GOTPAGE
Lloh6:
	ldr	x22, [x22, _XHI_NOOP_PACKET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x22]
	stp	w8, w9, [sp]
Lloh8:
	adrp	x8, _XHI_SYNC_PACKET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XHI_SYNC_PACKET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w8, w9, [sp, #8]
	str	w9, [sp, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, sp
	mov	w2, #5
	blr	x8
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
Lloh11:
	adrp	x8, _XHI_SR_DALIGN_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XHI_SR_DALIGN_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_hwicap_type_1_read
	orr	w8, w0, #0x1
	ldr	w9, [x22]
	stp	w8, w9, [sp]
	str	w9, [sp, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #3
	blr	x8
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	blr	x8
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _EIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	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_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_XHI_DUMMY_PACKET,4,2           ; @XHI_DUMMY_PACKET
	.comm	_XHI_NOOP_PACKET,4,2            ; @XHI_NOOP_PACKET
	.comm	_XHI_SYNC_PACKET,4,2            ; @XHI_SYNC_PACKET
	.comm	_XHI_SR_DALIGN_MASK,4,2         ; @XHI_SR_DALIGN_MASK
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_hwicap_get_configuration_register
.subsections_via_symbols
