	.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_2
## %bb.1:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	$56, %edx
	cmpq	%rbx, (%rax)
	jne	LBB0_3
LBB0_2:
	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)
	movl	$4, %eax
	movl	$16, %ebx
	cmovel	%eax, %ebx
	movq	_AU_IPv6@GOTPCREL(%rip), %rax
	cmoveq	_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	%ebx, %edx
	callq	_ADD_MEM
	leaq	4(%r14), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_ADD_MEM
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_ADD_MEM
LBB0_3:
	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	_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_5
; %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]
	mov	w9, #16
	mov	w10, #4
Lloh8:
	adrp	x11, _AU_IPv4@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AU_IPv4@GOTPAGEOFF]
Lloh10:
	adrp	x12, _AU_IPv6@GOTPAGE
Lloh11:
	ldr	x12, [x12, _AU_IPv6@GOTPAGEOFF]
	cmp	x8, x21
	csel	x8, x11, x12, eq
	csel	w21, w10, w9, eq
	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	x2, x21
	bl	_ADD_MEM
	add	x1, x19, #4
	mov	x0, #0
	mov	w2, #4
	bl	_ADD_MEM
	mov	x0, #0
	mov	x1, x19
	mov	x2, x21
	bl	_ADD_MEM
LBB0_5:
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.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
