	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_transport_sock_get_addr  ## -- Begin function usnic_transport_sock_get_addr
	.p2align	4, 0x90
_usnic_transport_sock_get_addr:         ## @usnic_transport_sock_get_addr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movl	-44(%rbp), %edi
	callq	_ntohs
	movl	%eax, (%r15)
LBB0_8:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movl	-48(%rbp), %edi
	callq	_ntohl
	movl	%eax, (%r14)
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_transport_sock_get_addr  ; -- Begin function usnic_transport_sock_get_addr
	.p2align	2
_usnic_transport_sock_get_addr:         ; @usnic_transport_sock_get_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	mov	x1, sp
	mov	w2, #0
	blr	x8
	tbnz	w0, #31, LBB0_10
; %bb.1:
	ldr	x8, [sp]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	cbz	x21, LBB0_4
; %bb.3:
	ldr	x8, [x22]
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	ldr	w0, [sp, #12]
	bl	_ntohs
	str	w0, [x20]
LBB0_6:
	cbz	x19, LBB0_9
; %bb.7:
	ldr	w0, [sp, #8]
	bl	_ntohl
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_10
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
