	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_self                   ## -- Begin function resolve_self
	.p2align	4, 0x90
_resolve_self:                          ## @resolve_self
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.1:
	testq	%r15, %r15
	jne	LBB0_3
## %bb.2:
	movl	$-1, %eax
	testq	%r14, %r14
	je	LBB0_11
LBB0_3:
	leaq	-56(%rbp), %rdx
	callq	_umad_get_port
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-40(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movl	-56(%rbp), %eax
	movl	%eax, (%r15)
LBB0_8:
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-48(%rbp), %edi
	callq	_cl_ntoh64
	movl	%eax, -32(%rbp)
	movl	-52(%rbp), %edi
	callq	_cl_ntoh64
	movl	%eax, -28(%rbp)
	movq	_IB_GID_PREFIX_F@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdi
	leaq	-32(%rbp), %rdx
	callq	_mad_encode_field
	movq	_IB_GID_GUID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdi
	leaq	-28(%rbp), %rdx
	callq	_mad_encode_field
LBB0_10:
	leaq	-56(%rbp), %rdi
	callq	_umad_release_port
	xorl	%eax, %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_GID_PREFIX_F,4,2            ## @IB_GID_PREFIX_F
	.comm	_IB_GID_GUID_F,4,2              ## @IB_GID_GUID_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_self                   ; -- Begin function resolve_self
	.p2align	2
_resolve_self:                          ; @resolve_self
	.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, x4
	mov	x20, x3
	mov	x21, x2
	cbnz	x2, LBB0_4
; %bb.1:
	cbnz	x20, LBB0_4
; %bb.2:
	cbnz	x19, LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_12
LBB0_4:
	add	x2, sp, #8
	bl	_umad_get_port
	tbnz	w0, #31, LBB0_12
; %bb.5:
	cbz	x21, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldur	d0, [sp, #20]
	str	d0, [x21]
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
	ldr	w8, [sp, #8]
	str	w8, [x20]
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [sp, #16]
	bl	_cl_ntoh64
	str	w0, [sp, #4]
	ldr	w0, [sp, #12]
	bl	_cl_ntoh64
	str	w0, [sp]
Lloh0:
	adrp	x8, _IB_GID_PREFIX_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_GID_PREFIX_F@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x0, [x19]
	add	x2, sp, #4
	bl	_mad_encode_field
Lloh3:
	adrp	x8, _IB_GID_GUID_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_GID_GUID_F@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x0, [x19]
	mov	x2, sp
	bl	_mad_encode_field
LBB0_11:
	add	x0, sp, #8
	bl	_umad_release_port
	mov	w0, #0
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_GID_PREFIX_F,4,2            ; @IB_GID_PREFIX_F
	.comm	_IB_GID_GUID_F,4,2              ; @IB_GID_GUID_F
.subsections_via_symbols
