	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_sock_graft
_selinux_sock_graft:                    ## @selinux_sock_graft
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_SOCK_INODE
	movq	(%rax), %rax
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	movq	_PF_INET@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_3
## %bb.1:
	movq	_PF_INET6@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_3
## %bb.2:
	movq	_PF_UNIX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
LBB0_3:
	movl	4(%rcx), %edx
	movl	%edx, 4(%rax)
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,8,3                    ## @PF_INET
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.comm	_PF_UNIX,8,3                    ## @PF_UNIX
	.no_dead_strip	_selinux_sock_graft
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_sock_graft
_selinux_sock_graft:                    ; @selinux_sock_graft
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_SOCK_INODE
	ldr	x8, [x0]
	ldp	x10, x9, [x19]
Lloh0:
	adrp	x11, _PF_INET@GOTPAGE
Lloh1:
	ldr	x11, [x11, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _PF_INET6@GOTPAGE
Lloh4:
	ldr	x12, [x12, _PF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
Lloh6:
	adrp	x13, _PF_UNIX@GOTPAGE
Lloh7:
	ldr	x13, [x13, _PF_UNIX@GOTPAGEOFF]
Lloh8:
	ldr	x13, [x13]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	ccmp	x10, x13, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w10, [x9, #4]
	str	w10, [x8, #4]
LBB0_2:
	ldr	w8, [x8]
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,8,3                    ; @PF_INET
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.comm	_PF_UNIX,8,3                    ; @PF_UNIX
	.no_dead_strip	_selinux_sock_graft
.subsections_via_symbols
