	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_register
_check_register:                        ## @check_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movl	16(%rdi), %esi
	movl	20(%rdi), %edi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpl	$0, 4(%rbx)
	je	LBB0_3
## %bb.4:
	movl	12(%rbx), %esi
	movl	(%rbx), %edi
	movl	8(%rbx), %edx
	callq	_check_reloc
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	decl	4(%rbx)
	incl	(%rbx)
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_check_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function check_register
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_check_register:                        ; @check_register
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x2, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	ldr	w1, [x19, #16]
	blr	x8
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	ldp	w2, w1, [x19, #8]
	bl	_check_reloc
	cbz	w0, LBB0_6
; %bb.4:
	mov	w0, #0
	ldr	d0, [x19]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x19]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_check_register
.subsections_via_symbols
