	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libsrt_set_options_post
_libsrt_set_options_post:               ## @libsrt_set_options_post
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	cmpq	$0, (%rbx)
	js	LBB0_2
## %bb.1:
	movq	_SRTO_INPUTBW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %r8
	movl	$8, %r9d
	callq	_libsrt_setsockopt
	testq	%rax, %rax
	js	LBB0_5
LBB0_2:
	cmpq	$0, 8(%rbx)
	js	LBB0_4
## %bb.3:
	addq	$8, %rbx
	movq	_SRTO_OHEADBW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %r8
	movl	$8, %r9d
	callq	_libsrt_setsockopt
	testq	%rax, %rax
	js	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SRTO_INPUTBW,4,2               ## @SRTO_INPUTBW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SRTO_INPUTBW"

	.comm	_SRTO_OHEADBW,4,2               ## @SRTO_OHEADBW
L_.str.1:                               ## @.str.1
	.asciz	"SRTO_OHEADBW"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_libsrt_set_options_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libsrt_set_options_post
_libsrt_set_options_post:               ; @libsrt_set_options_post
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SRTO_INPUTBW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SRTO_INPUTBW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #8
	bl	_libsrt_setsockopt
	tbnz	x0, #63, LBB0_5
LBB0_2:
	ldr	x8, [x19, #8]!
	tbnz	x8, #63, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _SRTO_OHEADBW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SRTO_OHEADBW@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #8
	bl	_libsrt_setsockopt
	tbnz	x0, #63, LBB0_5
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SRTO_INPUTBW,4,2               ; @SRTO_INPUTBW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SRTO_INPUTBW"

	.comm	_SRTO_OHEADBW,4,2               ; @SRTO_OHEADBW
l_.str.1:                               ; @.str.1
	.asciz	"SRTO_OHEADBW"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_libsrt_set_options_post
.subsections_via_symbols
