	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socket_getsockname         ## -- Begin function h2o_socket_getsockname
	.p2align	4, 0x90
_h2o_socket_getsockname:                ## @h2o_socket_getsockname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$4, -4(%rbp)
	movl	(%rdi), %edi
	leaq	-4(%rbp), %rdx
	callq	_getsockname
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movl	-4(%rbp), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socket_getsockname         ; -- Begin function h2o_socket_getsockname
	.p2align	2
_h2o_socket_getsockname:                ; @h2o_socket_getsockname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	w8, #4
	stur	w8, [x29, #-4]
	ldr	w0, [x0]
	sub	x2, x29, #4
	bl	_getsockname
	ldur	w8, [x29, #-4]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
