	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au_to_socket_ex                ## -- Begin function au_to_socket_ex
	.p2align	4, 0x90
_au_to_socket_ex:                       ## @au_to_socket_ex
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_AF_INET@GOTPCREL(%rip), %r13
	movl	$32, %edx
	cmpq	%rdi, (%r13)
	je	LBB0_3
## %bb.1:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	$56, %edx
	cmpq	%rbx, (%rax)
	jne	LBB0_2
LBB0_3:
	xorl	%esi, %esi
	callq	_GET_TOKEN_AREA
	movq	_AUT_SOCKET_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ADD_U_CHAR
	movq	%rbx, %rdi
	callq	_au_domain_to_bsm
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ADD_U_INT16
	movq	%r12, %rdi
	callq	_au_socket_type_to_bsm
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ADD_U_INT16
	cmpq	%rbx, (%r13)
	jne	LBB0_5
## %bb.4:
	movq	_AU_IPv4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ADD_U_INT16
	leaq	4(%r15), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_ADD_MEM
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_ADD_MEM
	leaq	4(%r14), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_ADD_MEM
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$4, %edx
	jmp	LBB0_6
LBB0_5:
	movq	_AU_IPv6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ADD_U_INT16
	leaq	4(%r15), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_ADD_MEM
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_ADD_MEM
	leaq	4(%r14), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_ADD_MEM
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$16, %edx
LBB0_6:
	callq	_ADD_MEM
	jmp	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %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	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_AUT_SOCKET_EX,4,2              ## @AUT_SOCKET_EX
	.comm	_AU_IPv4,4,2                    ## @AU_IPv4
	.comm	_AU_IPv6,4,2                    ## @AU_IPv6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au_to_socket_ex                ; -- Begin function au_to_socket_ex
	.p2align	2
_au_to_socket_ex:                       ; @au_to_socket_ex
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _AF_INET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AF_INET@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
	mov	w2, #32
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.3:
	mov	w2, #56
LBB0_4:
	mov	x1, #0
	bl	_GET_TOKEN_AREA
Lloh5:
	adrp	x8, _AUT_SOCKET_EX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AUT_SOCKET_EX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_ADD_U_CHAR
	mov	x0, x21
	bl	_au_domain_to_bsm
	mov	x1, x0
	mov	x0, #0
	bl	_ADD_U_INT16
	mov	x0, x22
	bl	_au_socket_type_to_bsm
	mov	x1, x0
	mov	x0, #0
	bl	_ADD_U_INT16
	ldr	x8, [x23]
	cmp	x8, x21
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _AU_IPv4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AU_IPv4@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_ADD_U_INT16
	add	x1, x20, #4
	mov	x0, #0
	mov	w2, #4
	bl	_ADD_MEM
	mov	x0, #0
	mov	x1, x20
	mov	w2, #4
	bl	_ADD_MEM
	add	x1, x19, #4
	mov	x0, #0
	mov	w2, #4
	bl	_ADD_MEM
	mov	x0, #0
	mov	x1, x19
	mov	w2, #4
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _AU_IPv6@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AU_IPv6@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_ADD_U_INT16
	add	x1, x20, #4
	mov	x0, #0
	mov	w2, #4
	bl	_ADD_MEM
	mov	x0, #0
	mov	x1, x20
	mov	w2, #16
	bl	_ADD_MEM
	add	x1, x19, #4
	mov	x0, #0
	mov	w2, #4
	bl	_ADD_MEM
	mov	x0, #0
	mov	x1, x19
	mov	w2, #16
LBB0_7:
	bl	_ADD_MEM
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _errno@GOTPAGE
Lloh18:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
LBB0_9:
	mov	x0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_AUT_SOCKET_EX,4,2              ; @AUT_SOCKET_EX
	.comm	_AU_IPv4,4,2                    ; @AU_IPv4
	.comm	_AU_IPv6,4,2                    ; @AU_IPv6
.subsections_via_symbols
