	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sepgsql_client_auth
_sepgsql_client_auth:                   ## @sepgsql_client_auth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_next_client_auth_hook
	movq	_STATUS_OK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_7
## %bb.1:
	movl	(%r14), %edi
	movq	_client_label_peer@GOTPCREL(%rip), %rsi
	callq	_getpeercon_raw
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	xorl	%eax, %eax
	callq	_sepgsql_get_permissive
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_SEPGSQL_MODE_DEFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_SEPGSQL_MODE_PERMISSIVE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sepgsql_set_mode               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_OK,4,2                  ## @STATUS_OK
	.comm	_client_label_peer,4,2          ## @client_label_peer
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ## @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELinux: unable to get peer label: %m"

	.comm	_SEPGSQL_MODE_PERMISSIVE,4,2    ## @SEPGSQL_MODE_PERMISSIVE
	.comm	_SEPGSQL_MODE_DEFAULT,4,2       ## @SEPGSQL_MODE_DEFAULT
	.no_dead_strip	_sepgsql_client_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sepgsql_client_auth
_sepgsql_client_auth:                   ; @sepgsql_client_auth
	.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	x20, x1
	mov	x19, x0
	bl	_next_client_auth_hook
Lloh0:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, _client_label_peer@GOTPAGE
Lloh4:
	ldr	x1, [x1, _client_label_peer@GOTPAGEOFF]
	bl	_getpeercon_raw
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _ERRCODE_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_3:
	bl	_sepgsql_get_permissive
Lloh13:
	adrp	x8, _SEPGSQL_MODE_DEFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SEPGSQL_MODE_DEFAULT@GOTPAGEOFF]
Lloh15:
	adrp	x9, _SEPGSQL_MODE_PERMISSIVE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SEPGSQL_MODE_PERMISSIVE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sepgsql_set_mode
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_OK,4,2                  ; @STATUS_OK
	.comm	_client_label_peer,4,2          ; @client_label_peer
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ; @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELinux: unable to get peer label: %m"

	.comm	_SEPGSQL_MODE_PERMISSIVE,4,2    ; @SEPGSQL_MODE_PERMISSIVE
	.comm	_SEPGSQL_MODE_DEFAULT,4,2       ; @SEPGSQL_MODE_DEFAULT
	.no_dead_strip	_sepgsql_client_auth
.subsections_via_symbols
